Click here to Skip to main content
15,921,941 members
Home / Discussions / COM
   

COM

 
GeneralRe: Register a DLL server Pin
Alex Gorev24-Jul-00 11:27
Alex Gorev24-Jul-00 11:27 
GeneralRe: Register a DLL server Pin
Tony Li25-Jul-00 4:17
Tony Li25-Jul-00 4:17 
QuestionHow do I return an array of objects in C++ to my ASP page. Pin
notjeff19-Jul-00 20:08
notjeff19-Jul-00 20:08 
AnswerRe: How do I return an array of objects in C++ to my ASP page. Pin
Alex Gorev20-Jul-00 5:38
Alex Gorev20-Jul-00 5:38 
GeneralRe: How do I return an array of objects in C++ to my ASP page. Pin
notjeff25-Jul-00 22:11
notjeff25-Jul-00 22:11 
QuestionIE 5.5: QueryInterface(IPersistStreamInit) fails on frames?!? Pin
Mike Morearty19-Jul-00 12:33
Mike Morearty19-Jul-00 12:33 
GeneralFireing events from a Thread... Pin
Daniel Fiske14-Jul-00 2:21
Daniel Fiske14-Jul-00 2:21 
GeneralRe: Fireing events from a Thread... Pin
Alex Gorev14-Jul-00 3:59
Alex Gorev14-Jul-00 3:59 
Hi,

Events are signaled by calling the Invoke method of an IDispatch interface supplied by container. The interface lives in the apartment of its own thread, which is also the one containing the control itself. To comply with the STA model, we can only safely call this interface's methods from the thread in which it was created. If the control wants to signal an event from a different thread it must Marshal the IDispatch interface into the IStream first and then UnMarshal it. And of course it must call CoInitialize() too.

To Marshal/UnMarshal interface pointers you can use my favorite functions: CoMarshalInterThreadInterfaceInStream(...) and CoGetInterfaceAndReleaseStream(...).

Regards,
Alex Gorev,
Dundas Software.
GeneralHandle of edit box in IE COM Pin
Ryan Park13-Jul-00 23:45
Ryan Park13-Jul-00 23:45 
Generalfunction to view error.log file Pin
BJ13-Jul-00 23:14
BJ13-Jul-00 23:14 
QuestionHow to open error.log file Pin
John13-Jul-00 2:41
John13-Jul-00 2:41 
GeneralReading an existing Excel File from C++/COM.. Pin
K M Bansal12-Jul-00 4:17
sussK M Bansal12-Jul-00 4:17 
GeneralObject to save text or number into file Pin
BJ12-Jul-00 2:06
BJ12-Jul-00 2:06 
GeneralRe: Object to save text or number into file Pin
Alex Gorev12-Jul-00 4:21
Alex Gorev12-Jul-00 4:21 
GeneralRe: Object to save text or number into file Pin
BJ12-Jul-00 5:44
BJ12-Jul-00 5:44 
GeneralName Space Extension Pin
rod7-Jul-00 8:14
rod7-Jul-00 8:14 
GeneralCalling a COM component from ASP Pin
pba_7-Jul-00 7:02
pba_7-Jul-00 7:02 
GeneralRe: Calling a COM component from ASP Pin
Alex Gorev7-Jul-00 8:42
Alex Gorev7-Jul-00 8:42 
QuestionHow to get IDispatch of an instance of Excel in C++ DLL called from Excel xla? Pin
leo6-Jul-00 2:11
leo6-Jul-00 2:11 
AnswerRe: How to get IDispatch of an instance of Excel in C++ DLL called from Excel xla? Pin
leo10-Jul-00 4:37
leo10-Jul-00 4:37 
AnswerRe: How to get IDispatch of an instance of Excel in C++ DLL called from Excel xla? Pin
K M Bansal12-Jul-00 4:16
sussK M Bansal12-Jul-00 4:16 
GeneralRe: How to get IDispatch of an instance of Excel in C++ DLL called from Excel xla? Pin
leo13-Jul-00 3:49
leo13-Jul-00 3:49 
QuestionHow to get Browser Helper Object pointer ? Pin
solo.ru4-Jul-00 5:43
solo.ru4-Jul-00 5:43 
AnswerRe: How to get Browser Helper Object pointer ? Pin
Alex Gorev4-Jul-00 6:14
Alex Gorev4-Jul-00 6:14 
Generalvoid* in a parameter in COM function Pin
Jafet Sánchez2-Jul-00 20:14
Jafet Sánchez2-Jul-00 20: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.