Click here to Skip to main content
15,917,808 members
Home / Discussions / COM
   

COM

 
QuestionHow to return Custom Error Messages using HResult?? Pin
3-Sep-01 0:02
suss3-Sep-01 0:02 
AnswerRe: How to return Custom Error Messages using HResult?? Pin
Rashid Thadha3-Sep-01 0:27
Rashid Thadha3-Sep-01 0:27 
GeneralOLE Embedding & Word - Saving The Document Pin
AJ1232-Sep-01 5:01
AJ1232-Sep-01 5:01 
Questionpossible for COM events in VC? Pin
Tim Rymer30-Aug-01 4:53
Tim Rymer30-Aug-01 4:53 
AnswerRe: possible for COM events in VC? Pin
3-Sep-01 21:26
suss3-Sep-01 21:26 
GeneralMarking Active X as Safe Pin
Jared Allen29-Aug-01 16:50
Jared Allen29-Aug-01 16:50 
Generalconnectionpoints and threads Pin
29-Aug-01 4:00
suss29-Aug-01 4:00 
GeneralRe: connectionpoints and threads Pin
Rashid Thadha30-Aug-01 12:20
Rashid Thadha30-Aug-01 12:20 
The most simple way to do this is use MTA (Multiple Thread Apartment) in your COM Object.

Also make sure that you are using ::CoInitializeEx(...) and ::CoUnitialize() in each thread that you have created.

This loads the OLE libarary for each thread, this is required if you are using COM Objects in the Threads

Cool | :cool:
GeneralWhat's wrong with the convertion?:ostringstream->CComVariant Pin
29-Aug-01 3:57
suss29-Aug-01 3:57 
GeneralCannot access classview information file Pin
29-Aug-01 2:20
suss29-Aug-01 2:20 
GeneralRe: Cannot access classview information file Pin
Adrian Metcalfe29-Aug-01 2:53
Adrian Metcalfe29-Aug-01 2:53 
Generalproble in releasing the pointer Pin
pathi29-Aug-01 2:12
pathi29-Aug-01 2:12 
GeneralRe: proble in releasing the pointer Pin
Not Active29-Aug-01 2:59
mentorNot Active29-Aug-01 2:59 
QuestionHow to use MFC classes in ATL(Service) Project? Pin
zhaoyong28-Aug-01 23:20
zhaoyong28-Aug-01 23:20 
AnswerRe: How to use MFC classes in ATL(Service) Project? Pin
Not Active29-Aug-01 3:05
mentorNot Active29-Aug-01 3:05 
AnswerRe: How to use MFC classes in ATL(Service) Project? Pin
Bill Wilson14-Sep-01 14:22
Bill Wilson14-Sep-01 14:22 
GeneralCalling a VB COM+ DLL from a C client Pin
28-Aug-01 22:18
suss28-Aug-01 22:18 
GeneralStrange problem with a NT Service registration Pin
28-Aug-01 22:10
suss28-Aug-01 22:10 
GeneralActive X distribution for web content Pin
Jared Allen28-Aug-01 18:22
Jared Allen28-Aug-01 18:22 
QuestionHow to install com+ with program and.... Pin
Sandos Ganzales28-Aug-01 16:30
Sandos Ganzales28-Aug-01 16:30 
GeneralDifference !!! Pin
Hadi Rezaee28-Aug-01 1:16
Hadi Rezaee28-Aug-01 1:16 
GeneralRe: Difference !!! Pin
28-Aug-01 1:47
suss28-Aug-01 1:47 
GeneralRe: Difference !!! Pin
Not Active28-Aug-01 10:54
mentorNot Active28-Aug-01 10:54 
GeneralRe: Difference !!! Pin
Ben M. Stokland5-Sep-01 21:11
Ben M. Stokland5-Sep-01 21:11 
Generalasynchronous property Pin
Maer72728-Aug-01 0:04
Maer72728-Aug-01 0:04 

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.