Click here to Skip to main content
15,901,426 members
Home / Discussions / COM
   

COM

 
GeneralRe: Abnormally terminated client. Pin
Jörgen Sigvardsson12-Nov-04 11:05
Jörgen Sigvardsson12-Nov-04 11:05 
GeneralRe: Abnormally terminated client. Pin
Jörgen Sigvardsson13-Nov-04 1:00
Jörgen Sigvardsson13-Nov-04 1:00 
GeneralRe: Abnormally terminated client. Pin
Lim Bio Liong13-Nov-04 19:41
Lim Bio Liong13-Nov-04 19:41 
GeneralRe: Abnormally terminated client. Pin
sergeyv200215-Nov-04 3:19
sergeyv200215-Nov-04 3:19 
GeneralRe: Abnormally terminated client. Pin
Jörgen Sigvardsson16-Nov-04 9:53
Jörgen Sigvardsson16-Nov-04 9:53 
GeneralRe: Abnormally terminated client. Pin
Lim Bio Liong18-Nov-04 0:06
Lim Bio Liong18-Nov-04 0:06 
GeneralRe: Abnormally terminated client. Pin
Jörgen Sigvardsson18-Nov-04 0:10
Jörgen Sigvardsson18-Nov-04 0:10 
QuestionHow to estimate the CLSID of a manually loaded COM dll? Pin
karasu10-Nov-04 3:32
karasu10-Nov-04 3:32 
Hi,

for some resons i try to implement some functions to load COM dlls without accessing the registry.
I don't know what dlls to load because the user of the application may add/remove dlls (they are used as plugins).
The only thing i know is the (relative) path of the directory that contains the dlls.
My idea is, to search this path, load the dlls into memory (LoadLibrary()) and initialize them using the functions
GetProcAdress() and DllGetClassObject(). ( -> these steps should be the manual implemantation of CoGetClassObject()- function ?! )
The only problem (so far... Smile | :) ) is, how to estimate the CLSID i need for the initialization?
(In my old registry based implementation i estimated them from the registry using EnumClassesOfCategories())

Currently i assume, a viable but not nice solution is to implement a "GetMyCLSID()" - function in the dlls.
Does anyone knows a better solution for this, does there exists a function to estimate the CLSID from a dll (BEFORE it is accessible as COM object)?

Has anyone some experience with this or a similiar solution or another solution for this problem?


Thanks in advance

alcedo
AnswerRe: How to estimate the CLSID of a manually loaded COM dll? Pin
vikramlinux15-Nov-04 0:20
vikramlinux15-Nov-04 0:20 
GeneralGet Parent folder from Full Qualified PIDL Pin
Marcus Spitzmiller9-Nov-04 8:18
Marcus Spitzmiller9-Nov-04 8:18 
GeneralCalling C++ COM with STL paramters from VB Pin
Member 15018497-Nov-04 18:17
Member 15018497-Nov-04 18:17 
GeneralRe: Calling C++ COM with STL paramters from VB Pin
Lim Bio Liong9-Nov-04 1:14
Lim Bio Liong9-Nov-04 1:14 
Generalcreating a com component from an IDL file Pin
vista274-Nov-04 11:49
vista274-Nov-04 11:49 
GeneralRe: creating a com component from an IDL file Pin
Christian Graus4-Nov-04 14:13
protectorChristian Graus4-Nov-04 14:13 
GeneralRe: creating a com component from an IDL file Pin
vista274-Nov-04 16:24
vista274-Nov-04 16:24 
GeneralRe: creating a com component from an IDL file Pin
Christian Graus4-Nov-04 17:18
protectorChristian Graus4-Nov-04 17:18 
GeneralRe: creating a com component from an IDL file Pin
vista274-Nov-04 17:26
vista274-Nov-04 17:26 
GeneralRe: creating a com component from an IDL file Pin
ThatsAlok4-Nov-04 18:30
ThatsAlok4-Nov-04 18:30 
GeneralRe: creating a com component from an IDL file Pin
vikramlinux5-Nov-04 0:23
vikramlinux5-Nov-04 0:23 
GeneralWMFormat SDK problem while read a .wmv Pin
ytod3-Nov-04 22:40
ytod3-Nov-04 22:40 
GeneralAbout Runtime and Developer Component Pin
ThatsAlok3-Nov-04 20:30
ThatsAlok3-Nov-04 20:30 
GeneralRe: About Runtime and Developer Component Pin
Sir Garence15-Nov-04 5:44
sussSir Garence15-Nov-04 5:44 
GeneralRe: About Runtime and Developer Component Pin
ThatsAlok15-Nov-04 17:31
ThatsAlok15-Nov-04 17:31 
GeneralCOM Component Returning An Array to VBScript Pin
Doug Knudson3-Nov-04 4:32
Doug Knudson3-Nov-04 4:32 
GeneralRe: COM Component Returning An Array to VBScript Pin
Vi25-Nov-04 3:19
Vi25-Nov-04 3:19 

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.