Click here to Skip to main content
16,004,901 members
Home / Discussions / COM
   

COM

 
GeneralCLSIDFromProgID was failed. Please help.. Pin
Vorrarit Luengwattanakij18-Mar-03 7:32
Vorrarit Luengwattanakij18-Mar-03 7:32 
GeneralRe: I want to write an Add-in for VS, help please Pin
qcth18-Mar-03 3:47
qcth18-Mar-03 3:47 
GeneralJava + COM Pin
-=jarl=-17-Mar-03 5:39
-=jarl=-17-Mar-03 5:39 
GeneralRe: Java + COM Pin
Jörgen Sigvardsson20-Mar-03 10:27
Jörgen Sigvardsson20-Mar-03 10:27 
GeneralInvalidCastException Pin
SQ_Lusi13-Mar-03 1:25
SQ_Lusi13-Mar-03 1:25 
QuestionHow to determine the threading model of an out-of-process server Pin
Jason Bafas12-Mar-03 5:04
sussJason Bafas12-Mar-03 5:04 
GeneralActiveX accessing other ActiveX Ctrls in a browser Pin
sanskypotov11-Mar-03 22:28
sanskypotov11-Mar-03 22:28 
GeneralAfxOleInit() + RPC_E_CHANGED_MODE Pin
Swinefeaster11-Mar-03 12:00
Swinefeaster11-Mar-03 12:00 
Hi there,

I have an app here that already initializes COM via a call to CoInitializeEx(NULL, COINIT_MULTITHREADED). I have recently added drag and drop support, and am calling AfxOleInit() some time after the call to CoInitializeEx(). This works on my development machine no problem, but on another machine AfxOleInit()'s call to CoInitialize() fails with RPC_E_CHANGED_MODE. I don't understand why it works on my first machine, though I realize the failure on the second machine is due to the fact that it was initialized to MTA and now we are trying to use STA.

Any ideas? Surely you can use COM as well as drag and drop in a single application, right???

Thanks,

swine

[b]yte your digital photos with [ae]phid [p]hotokeeper - www.aephid.com.
Generaladd-in for outlook express Pin
Naidu10-Mar-03 22:32
Naidu10-Mar-03 22:32 
GeneralRe: add-in for outlook express Pin
Amit Dey14-Mar-03 7:44
Amit Dey14-Mar-03 7:44 
GeneralRe: add-in for outlook express Pin
Naidu18-Mar-03 15:37
Naidu18-Mar-03 15:37 
GeneralRe: add-in for outlook express Pin
Amit Dey19-Mar-03 5:40
Amit Dey19-Mar-03 5:40 
GeneralRe: add-in for outlook express Pin
Stephane Rodriguez.15-Mar-03 7:25
Stephane Rodriguez.15-Mar-03 7:25 
GeneralRe: add-in for outlook express Pin
Amit Dey15-Mar-03 11:28
Amit Dey15-Mar-03 11:28 
GeneralRe: add-in for outlook express Pin
Stephane Rodriguez.16-Mar-03 3:10
Stephane Rodriguez.16-Mar-03 3:10 
GeneralRe: add-in for outlook express Pin
Amit Dey16-Mar-03 8:54
Amit Dey16-Mar-03 8:54 
GeneralRe: add-in for outlook express Pin
Stephane Rodriguez.16-Mar-03 9:29
Stephane Rodriguez.16-Mar-03 9:29 
GeneralRe: add-in for outlook express Pin
Amit Dey16-Mar-03 10:31
Amit Dey16-Mar-03 10:31 
GeneralRe: add-in for outlook express Pin
Stephane Rodriguez.16-Mar-03 11:09
Stephane Rodriguez.16-Mar-03 11:09 
GeneralRe: add-in for outlook express Pin
Amit Dey16-Mar-03 13:49
Amit Dey16-Mar-03 13:49 
GeneralRe: add-in for outlook express Pin
Stephane Rodriguez.16-Mar-03 19:49
Stephane Rodriguez.16-Mar-03 19:49 
GeneralRe: add-in for outlook express Pin
Amit Dey16-Mar-03 14:11
Amit Dey16-Mar-03 14:11 
GeneralRe: add-in for outlook express Pin
Naidu16-Mar-03 19:21
Naidu16-Mar-03 19:21 
GeneralRe: add-in for outlook express Pin
Stephane Rodriguez.16-Mar-03 19:54
Stephane Rodriguez.16-Mar-03 19:54 
GeneralRe: add-in for outlook express Pin
Amit Dey17-Mar-03 4:30
Amit Dey17-Mar-03 4:30 

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.