Click here to Skip to main content
15,903,030 members
Home / Discussions / COM
   

COM

 
AnswerRe: unresolved external symbol _IID_IMAPIProp Pin
a.olekhnovich1-Mar-07 2:43
a.olekhnovich1-Mar-07 2:43 
QuestionAdd a Custom header in Outlook Add-in [modified] Pin
a.olekhnovich28-Feb-07 23:30
a.olekhnovich28-Feb-07 23:30 
AnswerRe: Add a Custom header in Outlook Add-in Pin
Roger Stoltz1-Mar-07 1:06
Roger Stoltz1-Mar-07 1:06 
GeneralRe: Add a Custom header in Outlook Add-in Pin
a.olekhnovich1-Mar-07 1:13
a.olekhnovich1-Mar-07 1:13 
GeneralRe: Add a Custom header in Outlook Add-in Pin
a.olekhnovich1-Mar-07 1:24
a.olekhnovich1-Mar-07 1:24 
QuestionPLEASE HELP :( Pin
İsmail Durmaz28-Feb-07 10:44
İsmail Durmaz28-Feb-07 10:44 
QuestionHow to register a COM component? Pin
sumd27-Feb-07 0:27
sumd27-Feb-07 0:27 
AnswerRe: How to register a COM component? Pin
Roger Stoltz27-Feb-07 1:23
Roger Stoltz27-Feb-07 1:23 
hellofromsumedh@gmail.com wrote:
I have been trying to generate CLSID


What do you mean by "generate" and what do you want to do with this "generated" CLSID?

The title of your post suggests that you're having problems in the component registration process. ::CLSIDFromProgID() is of no use while registering a component since it would use the information registered.
Still you're talking about a client in the post and I don't see how it maps to the title of the post, I find it confusing and I'm not really sure what your problem is.

Regarding the component registration:
An in-proc COM server normally exposes a function called DllRegisterServer() that should be called in order to register the component. This is done by running "RegSvr32.exe <TheServerPath>". RegSvr32.exe calls the components DllRegisterServer().
Read more about DllRegisterServer() here[^].

Regarding creating a server from a client:
::CoCreateInstance() is the API function to use in this case with the CLSID as one of the parameters. The CLSID is usually retrieved by importing the server's typelib or similar.
Read more about ::CoCreateInstance() here[^].


"It's supposed to be hard, otherwise anybody could do it!" - selfquote
"High speed never compensates for wrong direction!" - unknown

Questionplotting graphic Pin
tomoyo_akumin26-Feb-07 2:28
tomoyo_akumin26-Feb-07 2:28 
QuestionCustom interface??? Pin
jhinze24-Feb-07 4:56
jhinze24-Feb-07 4:56 
AnswerRe: Custom interface??? Pin
prasad_som24-Feb-07 5:29
prasad_som24-Feb-07 5:29 
GeneralRe: Custom interface??? Pin
jhinze24-Feb-07 6:37
jhinze24-Feb-07 6:37 
QuestionNeed help regarding SMS Gateway urgently Pin
jayu_s_a23-Feb-07 4:16
jayu_s_a23-Feb-07 4:16 
QuestionConvert a 1D array to VARIANT Pin
Member 79935121-Feb-07 7:34
Member 79935121-Feb-07 7:34 
Questionabout dropdown menu bar Pin
shiv_bahadur21-Feb-07 1:12
shiv_bahadur21-Feb-07 1:12 
QuestionError 406 Pin
shivapriyak20-Feb-07 21:05
shivapriyak20-Feb-07 21:05 
Questioncreating a reference to a com object Pin
shivapriyak19-Feb-07 4:30
shivapriyak19-Feb-07 4:30 
AnswerRe: creating a reference to a com object Pin
Roger Stoltz19-Feb-07 11:18
Roger Stoltz19-Feb-07 11:18 
GeneralRe: creating a reference to a com object Pin
shivapriyak19-Feb-07 18:21
shivapriyak19-Feb-07 18:21 
GeneralRe: creating a reference to a com object Pin
Tim Paaschen19-Feb-07 19:45
Tim Paaschen19-Feb-07 19:45 
GeneralRe: creating a reference to a com object Pin
Roger Stoltz19-Feb-07 22:22
Roger Stoltz19-Feb-07 22:22 
GeneralRe: creating a reference to a com object Pin
shivapriyak19-Feb-07 23:44
shivapriyak19-Feb-07 23:44 
GeneralRe: creating a reference to a com object Pin
Tim Paaschen20-Feb-07 1:25
Tim Paaschen20-Feb-07 1:25 
GeneralRe: creating a reference to a com object Pin
Roger Stoltz19-Feb-07 22:27
Roger Stoltz19-Feb-07 22:27 
GeneralRe: creating a reference to a com object Pin
shivapriyak19-Feb-07 23:48
shivapriyak19-Feb-07 23:48 

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.