Click here to Skip to main content
15,918,258 members
Home / Discussions / COM
   

COM

 
GeneralRe: Threaded COM object Pin
Len Holgate21-Jul-02 12:10
Len Holgate21-Jul-02 12:10 
GeneralRe: Threaded COM object Pin
Jörgen Sigvardsson21-Jul-02 12:19
Jörgen Sigvardsson21-Jul-02 12:19 
GeneralRe: Threaded COM object Pin
Jörgen Sigvardsson21-Jul-02 13:05
Jörgen Sigvardsson21-Jul-02 13:05 
QuestionHave I understood COM correctly? Pin
Paul Ingles20-Jul-02 13:47
Paul Ingles20-Jul-02 13:47 
AnswerRe: Have I understood COM correctly? Pin
Noam Ben Haim24-Jul-02 3:55
Noam Ben Haim24-Jul-02 3:55 
QuestionMFC to ATL ???? Pin
Leesen19-Jul-02 18:03
Leesen19-Jul-02 18:03 
AnswerRe: MFC to ATL ???? Pin
Not Active20-Jul-02 16:07
mentorNot Active20-Jul-02 16:07 
GeneralRe: MFC to ATL ???? Pin
Leesen22-Jul-02 18:30
Leesen22-Jul-02 18:30 
I plan to copy all the MFC Class ,Including GUI Class ,such as Frmae,View, to the Atl Project .And it can be complied successfully. Then I can further modify the Atl project based on that. I will add some interface in Atl project to call function instead of the automation message loop . In this way , I think I could let the Atl dll run in VB GUI,with his own GUI (Frame ,view,Dialog ) just loaded in memory and not shown.
This is my idea . What do you think of it ? I just want to get a general structrue ,and then I can modify the Atl code into more simple project,such as change Frame,view into other substitutes. In this way ,I can achieve my goal.
Expecting your advice.

Now I have copied all the MFC Class ,Including GUI Class ,such as Frmae,View,from the MFC Project to the Atl Project .And it can be complied successfully.
But when I attempt to register the DLL I get the following error:
Debug Assertion Failed!
Program: C:\WINNT\System32\regsvr32.exe
File: D:\Program Files\Microsoft Visual Studio\VC98\MFC\SRC\APPCORE.CPP
Line: 85
Expression: ASSERT(AfxGetThread() == NULL);
So what does this really tell me and what can I do to correct it?

Any ideas???

AnswerRe: MFC to ATL ???? Pin
Vivek Rajan22-Jul-02 18:52
Vivek Rajan22-Jul-02 18:52 
GeneralClick function Pin
Al_Pennyworth19-Jul-02 8:11
Al_Pennyworth19-Jul-02 8:11 
GeneralActiveX assert Pin
joblemar19-Jul-02 0:50
sussjoblemar19-Jul-02 0:50 
Generalthumbnail using IExtractImage Pin
toon18-Jul-02 20:54
toon18-Jul-02 20:54 
GeneralRe: thumbnail using IExtractImage Pin
loket21-Jul-02 7:41
loket21-Jul-02 7:41 
QuestionAnyone with experience in out-of-proc COM servers? Pin
jfugate18-Jul-02 9:31
jfugate18-Jul-02 9:31 
AnswerRe: Anyone with experience in out-of-proc COM servers? Pin
soptest18-Jul-02 9:48
soptest18-Jul-02 9:48 
GeneralRe: Anyone with experience in out-of-proc COM servers? Pin
jfugate18-Jul-02 10:04
jfugate18-Jul-02 10:04 
GeneralRe: Anyone with experience in out-of-proc COM servers? Pin
soptest18-Jul-02 13:17
soptest18-Jul-02 13:17 
AnswerRe: Anyone with experience in out-of-proc COM servers? Pin
Vi222-Jul-02 4:14
Vi222-Jul-02 4:14 
GeneralRe: Anyone with experience in out-of-proc COM servers? Pin
jfugate22-Jul-02 6:30
jfugate22-Jul-02 6:30 
Generalwhy do have to restart to get excel/ word application. every time Pin
pnpfriend18-Jul-02 5:29
pnpfriend18-Jul-02 5:29 
GeneralRe: why do have to restart to get excel/ word application. every time Pin
SHaroz18-Jul-02 5:43
SHaroz18-Jul-02 5:43 
GeneralRe: why do have to restart to get excel/ word application. every time Pin
pnpfriend18-Jul-02 6:04
pnpfriend18-Jul-02 6:04 
GeneralRe: why do have to restart to get excel/ word application. every time Pin
SHaroz18-Jul-02 6:16
SHaroz18-Jul-02 6:16 
GeneralRe: why do have to restart to get excel/ word application. every time Pin
pnpfriend18-Jul-02 6:52
pnpfriend18-Jul-02 6:52 
GeneralRe: why do have to restart to get excel/ word application. every time Pin
SHaroz18-Jul-02 7:14
SHaroz18-Jul-02 7:14 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.