Click here to Skip to main content
15,880,608 members
Home / Discussions / COM
   

COM

 
GeneralRe: COM+ Error Pin
Steve S23-Jun-03 21:50
Steve S23-Jun-03 21:50 
GeneralRe: COM+ Error Pin
Aravinthan25-Jun-03 3:11
Aravinthan25-Jun-03 3:11 
QuestionInproc COM server question? Pin
Obi-Wan-Kenobi17-Jun-03 18:30
Obi-Wan-Kenobi17-Jun-03 18:30 
AnswerRe: Inproc COM server question? Pin
valikac18-Jun-03 6:57
valikac18-Jun-03 6:57 
AnswerRe: Inproc COM server question? Pin
Giles22-Jun-03 5:08
Giles22-Jun-03 5:08 
GeneralMSWord Applications Pin
Madmaximus17-Jun-03 10:01
Madmaximus17-Jun-03 10:01 
GeneralUse GetActiveObject first Pin
Vi219-Jun-03 19:58
Vi219-Jun-03 19:58 
GeneralRe: Use GetActiveObject first Pin
Madmaximus20-Jun-03 4:56
Madmaximus20-Jun-03 4:56 
Hi, thanks for the help. Wink | ;)

I tried your suggestion but I can't get it to work. When I pass a pointer of MSWord to each of the threads the threads error on the open function.
m_hResults = m_pDocs->Open(&var, &vOpt, &vOpt, &vOpt, &vOpt, &vOpt, &vOpt, &vOpt,
&vOpt, &vOpt, &vOpt, &vOpt, &pDoc);

If I create an instance of MSWord object in each thread then each thread gets its own instance of Word.exe from the "m_hResults = m_pWord.CreateInstance(clsid, NULL)" function. That’s because m_pWord is NULL for each object’s constructor that is created by each thread.

So, I’m still wondering how to get one instance of MSWord in each of the threads.

Thanks again,
Ken

GeneralActiveX stock property issue Pin
Marion2817-Jun-03 7:41
Marion2817-Jun-03 7:41 
Questionhow do i know whether an interface is createable or not? Pin
safee ullah16-Jun-03 0:25
safee ullah16-Jun-03 0:25 
AnswerRe: how do i know whether an interface is createable or not? Pin
J. Schermerhorn16-Jun-03 3:54
J. Schermerhorn16-Jun-03 3:54 
GeneralRe: how do i know whether an interface is createable or not? Pin
safee ullah16-Jun-03 19:34
safee ullah16-Jun-03 19:34 
QuestionHow to Implement DllGetClassObject?? Pin
Anonymous14-Jun-03 1:48
Anonymous14-Jun-03 1:48 
AnswerRe: How to Implement DllGetClassObject?? Pin
Anonymous14-Jun-03 2:23
Anonymous14-Jun-03 2:23 
Questioncomponet for INTERNET EXPLORER programming in .NET? Pin
Asim N.13-Jun-03 3:02
Asim N.13-Jun-03 3:02 
GeneralVisual Studio Add-In --> IApplicationEvents save event Pin
Amir Harel12-Jun-03 4:25
Amir Harel12-Jun-03 4:25 
GeneralRe: Visual Studio Add-In --> IApplicationEvents save event Pin
Anonymous19-Jun-03 21:37
Anonymous19-Jun-03 21:37 
GeneralItypeInfo::Invoke paramerters Pin
safee ullah11-Jun-03 23:39
safee ullah11-Jun-03 23:39 
GeneralRe: ItypeInfo::Invoke paramerters Pin
Hans Ruck12-Jun-03 0:37
Hans Ruck12-Jun-03 0:37 
GeneralRe: ItypeInfo::Invoke paramerters Pin
safee ullah12-Jun-03 19:44
safee ullah12-Jun-03 19:44 
GeneralCOM exe under win98 Pin
Ryszard Krakowiak10-Jun-03 21:20
Ryszard Krakowiak10-Jun-03 21:20 
GeneralInvokeHelper.. More info needed! Pin
harinath10-Jun-03 19:16
professionalharinath10-Jun-03 19:16 
QuestionHow call the javascript 'escape' function from C++ ? Pin
Thierry Maurel10-Jun-03 7:24
Thierry Maurel10-Jun-03 7:24 
GeneralIDispatch, ITypeInfo et al Pin
Jörgen Sigvardsson10-Jun-03 2:26
Jörgen Sigvardsson10-Jun-03 2:26 
GeneralRe: IDispatch, ITypeInfo et al Pin
Hans Ruck11-Jun-03 22:11
Hans Ruck11-Jun-03 22:11 

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.