-
October 27th, 2010, 07:03 AM
#1
COM Registration
A COM DLL is being registered using the regsrv32 command from the command line. There is no error message being displayed as a result of execution of the command. How can one determine if the COM registration has indeed been successful ?
-
October 27th, 2010, 10:09 AM
#2
Re: COM Registration
When you start the RegSvr32 process, call GetExitCodeProcess and check the return code.
-
October 27th, 2010, 11:06 PM
#3
Re: COM Registration
Hi Arjay, this command is being executed from the command line on the command prompt and not from code.
Is there anyway to look at some location in the registry or something to check if the registration is successul
-
October 27th, 2010, 11:54 PM
#4
Re: COM Registration
open registry "regedit" and try searching for your COM class name. UUID or some other reference identity in the registry .. if migh tbe present if it is registered properly.
-
October 28th, 2010, 03:39 AM
#5
Re: COM Registration
Originally Posted by humble_learner
Hi Arjay, this command is being executed from the command line on the command prompt and not from code.
Is there anyway to look at some location in the registry or something to check if the registration is successul
Did you write the COM object?
-
October 28th, 2010, 07:14 AM
#6
Re: COM Registration
Is there anyway to look at some location in the registry or something to check if the registration is successul
You have to provide some definition to 'registration success' thing.
PS. I can imagine only one reliable way: running test application that creates coclass object and makes sure it's functioning.
Best regards,
Igor
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|