Click here to Skip to main content
16,005,181 members
Home / Discussions / COM
   

COM

 
GeneralEvents in MFC client Pin
Member 1697717-Jan-02 1:26
Member 1697717-Jan-02 1:26 
GeneralRe: Events in MFC client Pin
Prem Kumar19-Jan-02 10:58
Prem Kumar19-Jan-02 10:58 
GeneralRe: Events in MFC client Pin
Matt Philmon13-Feb-02 17:51
Matt Philmon13-Feb-02 17:51 
GeneralDeleting mutiple instances of COM object Pin
Ebin16-Jan-02 20:01
Ebin16-Jan-02 20:01 
GeneralRe: Deleting mutiple instances of COM object Pin
Henrik Sternberg18-Jan-02 1:02
Henrik Sternberg18-Jan-02 1:02 
GeneralRe: Deleting mutiple instances of COM object Pin
Prem Kumar19-Jan-02 11:03
Prem Kumar19-Jan-02 11:03 
GeneralGIT in Worker Thread Crashes Pin
16-Jan-02 6:42
suss16-Jan-02 6:42 
GeneralRe: GIT in Worker Thread Crashes Pin
Joao Vaz16-Jan-02 7:44
Joao Vaz16-Jan-02 7:44 
Hi,

1- If you make the variable global why passing it in the LPARAM of createThread ?
Normally , or you make a variable global or you pass the variable thru the LPARAM.
2- Normally, with multiple threads in a process a guy must protect the data with a critical section or with another sinchronization stuff ...
3-It's necessary to call CoCreateInstance and RegisterInterfaceInGlobal on the apartment where the object lives
4- It must be GetInterfaceFromGlobal(cookie, IID_ISpyder, (void**)&Spy)), you forgot the ampersand Confused | :confused:
5-You can call RevokeInterfaceFromGlobal from any apartment, but you must be certain that is the last apartment that makes use of the interface pointer

Hope this helps, best of luck



Joao Vaz
GeneralRe: GIT in Worker Thread Crashes Pin
Tim Rymer16-Jan-02 8:23
Tim Rymer16-Jan-02 8:23 
GeneralRe: GIT in Worker Thread Crashes Pin
Tim Rymer16-Jan-02 9:03
Tim Rymer16-Jan-02 9:03 
GeneralRe: GIT RegisterInterfaceInGlobal( ) Pin
Tim Rymer16-Jan-02 9:04
Tim Rymer16-Jan-02 9:04 
GeneralFINISHED! Pin
Tim Rymer16-Jan-02 10:33
Tim Rymer16-Jan-02 10:33 
GeneralRe: FINISHED! Pin
Joao Vaz16-Jan-02 22:35
Joao Vaz16-Jan-02 22:35 
QuestionHow to set the identity user of a COM component Pin
xicoloko16-Jan-02 2:28
xicoloko16-Jan-02 2:28 
GeneralCAxDialogImpl<> and MS Word macro Pin
MECVA15-Jan-02 8:21
MECVA15-Jan-02 8:21 
GeneralRe: CAxDialogImpl<> and MS Word macro Pin
Not Active15-Jan-02 9:09
mentorNot Active15-Jan-02 9:09 
GeneralRe: CAxDialogImpl<> and MS Word macro Pin
Michael P Butler15-Jan-02 22:21
Michael P Butler15-Jan-02 22:21 
GeneralConnection Points with Variant Parameter Pin
AndyC14-Jan-02 22:03
AndyC14-Jan-02 22:03 
GeneralDeleting the mutiple instances of COM object Pin
Ebin14-Jan-02 19:52
Ebin14-Jan-02 19:52 
GeneralHTML Control Printing Problem Pin
John Osborn14-Jan-02 16:29
John Osborn14-Jan-02 16:29 
GeneralCalls to _IOutBound from several threads Pin
Alvin77712-Jan-02 0:37
Alvin77712-Jan-02 0:37 
GeneralDCOM and Connection Point Pin
11-Jan-02 5:33
suss11-Jan-02 5:33 
GeneralRe: DCOM and Connection Point Pin
Joao Vaz11-Jan-02 7:29
Joao Vaz11-Jan-02 7:29 
GeneralActiveX control works properly in VB, but not in VC++ Pin
sanskypotov11-Jan-02 0:55
sanskypotov11-Jan-02 0:55 
GeneralRe: ActiveX control works properly in VB, but not in VC++ Pin
11-Jan-02 2:26
suss11-Jan-02 2:26 

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.