Click here to Skip to main content
15,910,661 members
Home / Discussions / COM
   

COM

 
GeneralRe: Dynamically switching between DLLs Pin
Divick26-Sep-05 21:28
Divick26-Sep-05 21:28 
GeneralRe: Dynamically switching between DLLs Pin
Divick27-Sep-05 20:47
Divick27-Sep-05 20:47 
GeneralRe: Dynamically switching between DLLs Pin
rwestgraham28-Sep-05 19:08
rwestgraham28-Sep-05 19:08 
QuestionActiveX Controls Pin
Ashwin kumar Gurujala26-Sep-05 18:14
Ashwin kumar Gurujala26-Sep-05 18:14 
QuestionITypeInfo - Method parameter names Pin
mpuerto26-Sep-05 15:55
mpuerto26-Sep-05 15:55 
AnswerRe: ITypeInfo - Method parameter names Pin
Lim Bio Liong27-Sep-05 0:24
Lim Bio Liong27-Sep-05 0:24 
GeneralRe: ITypeInfo - Method parameter names Pin
mpuerto27-Sep-05 11:38
mpuerto27-Sep-05 11:38 
QuestionMultithreaded COM Pin
tajbender25-Sep-05 9:52
tajbender25-Sep-05 9:52 
hi there,

i got a problem when switching my apartment modell from single-threaded to multi-threaded (using c#).
i make use of the DragDropHelper interface, which (as far as i know) has to be initialized via "CoCreateInstance" as "CLSCTX.INPROC_SERVER"; however, when i switch to MTAThread for a multithreaded department, the instantiation fails saying something like "interface not supported" (or "class not registered" as i played around with the CLSCTX-parameter).
the thing is, i make extensive use of COM-interfaces as i write some kind of explorer-replacement; as doing so some functions are really slow (like icon extraction on tons of files Smile | :) ), i decided to switch to the multithreaded-department; however, some COM-interfaces aren't supported there (e.g. IShellIcon) when trying to instanciate in a STAThread department but trying to use in a seperate thread...
my opinion was, switching to MTAThread-department would let me allow to use COM in seperate threads, however, DragDropHelper-instanciation fails although doing in the main thread of the process.
Any ideas, did i miss something?

regards,
tajbender
QuestionDesign Help Pin
dwh6324-Sep-05 18:51
dwh6324-Sep-05 18:51 
QuestionA Juicy COM Bug Pin
mango_lier24-Sep-05 13:57
mango_lier24-Sep-05 13:57 
GeneralRe: A Juicy COM Bug Pin
Jörgen Sigvardsson24-Sep-05 23:20
Jörgen Sigvardsson24-Sep-05 23:20 
QuestionExample of Custom marshelling in COM Pin
Bhargava Alanka24-Sep-05 2:00
Bhargava Alanka24-Sep-05 2:00 
QuestionChat application b/w web application Pin
irshad ali23-Sep-05 21:27
irshad ali23-Sep-05 21:27 
QuestionIphelper API Pin
Mukhan23-Sep-05 10:26
Mukhan23-Sep-05 10:26 
QuestionCOM Help Pin
amitgh22-Sep-05 20:11
amitgh22-Sep-05 20:11 
AnswerRe: COM Help Pin
rwestgraham23-Sep-05 9:06
rwestgraham23-Sep-05 9:06 
GeneralRe: COM Help Pin
amitgh25-Sep-05 18:37
amitgh25-Sep-05 18:37 
GeneralRe: COM Help Pin
rwestgraham26-Sep-05 4:10
rwestgraham26-Sep-05 4:10 
QuestionInterface leak Pin
mango_lier22-Sep-05 11:45
mango_lier22-Sep-05 11:45 
AnswerRe: Interface leak Pin
Anonymous23-Sep-05 5:30
Anonymous23-Sep-05 5:30 
GeneralRe: Interface leak Pin
mango_lier23-Sep-05 6:58
mango_lier23-Sep-05 6:58 
Questionproblem with imnact.h Pin
rajeevktripathi22-Sep-05 1:40
rajeevktripathi22-Sep-05 1:40 
QuestionDebugging DLL Pin
Venkata Rama Subbarao21-Sep-05 22:49
Venkata Rama Subbarao21-Sep-05 22:49 
AnswerRe: Debugging DLL Pin
rwestgraham22-Sep-05 11:55
rwestgraham22-Sep-05 11:55 
GeneralRe: Debugging DLL Pin
Venkata Rama Subbarao28-Sep-05 0:51
Venkata Rama Subbarao28-Sep-05 0:51 

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.