|
-
October 18th, 2004, 09:10 AM
#1
obtain GUID from DLL
How can I obtain the GUID (class identifier) from a dll using visual basic code?
Here is how I instantiate the dll class:
Dim comSched As Object
Set comSched = CreateObject("NOVAR2BCM.Novar")
I have a visual c++ COM object (Novar2BCM.dll) which contains the NOVAR2BCM.Novar class.
Thanks for any help.
-
October 18th, 2004, 10:19 AM
#2
CLSIDFromProgID
If you know the prog id, you can use CLSIDFromProgID API.
-
October 18th, 2004, 05:06 PM
#3
Re: CLSIDFromProgID
 Originally Posted by avinash_sahay
If you know the prog id, you can use CLSIDFromProgID API.
This won't always work. See this thread for more:
http://www.codeguru.com/forum/showthread.php?t=312694
Please remember to rate the posts and threads that you find useful.
How can something be both new and improved at the same time?
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
|