Retain Class ID and Interface ID of ActiveX dll created in Visual Basic 
Author Message
 Retain Class ID and Interface ID of ActiveX dll created in Visual Basic

Hello,
I have created an Active X dll in Visual Basic(5.0) and I tried to use it
from VC++(5.0). I have obtained the CLSID and Interface ID and tried using
it.Everything works fine.
But when I 'Make ActiveX dll' again after small changes, the class
id(CLSID) and the interface ID's changes. I have to rewrite that portion in
VC++. Is there anyway I Make the Active DLL retaining the class id(CLSID)
and Interface ID?
Thanks in advance,
Ramesh


Mon, 02 Apr 2001 03:00:00 GMT  
 Retain Class ID and Interface ID of ActiveX dll created in Visual Basic
You need to specify "Binary Compatibility" in the Component tab of the Projects
Properties. This will retain the cslid value unless you alter any of the
classes defined properties, methods, or events. (You can add new ones without
the cslid changing, you just can't change parameters of existing, or remove
existing).
Quote:

> Hello,
> I have created an Active X dll in Visual Basic(5.0) and I tried to use it
> from VC++(5.0). I have obtained the CLSID and Interface ID and tried using
> it.Everything works fine.
> But when I 'Make ActiveX dll' again after small changes, the class
> id(CLSID) and the interface ID's changes. I have to rewrite that portion in
> VC++. Is there anyway I Make the Active DLL retaining the class id(CLSID)
> and Interface ID?
> Thanks in advance,
> Ramesh



Mon, 02 Apr 2001 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Disabling Outlook 2000 Menu Items - Finding Control ID, IDs, ID's

2. PLS HELP - Setting Class ID in ActiveX Server

3. Creating A Class ID

4. CDDB ID in Visual Basic

5. Visual Basic Application Sharing an ID with a Web Application

6. Getting ID field values into Visual Basic with ADO

7. Retrieve Outlook Entry ID...using Visual Basic automation???

8. How to extract ContactItem entry id from the AddressEntry entry id

9. Command IDs or CommandbarButton IDs

10. Command IDs or CommandbarButton IDs

11. HOWTO Sort ListView ID Column as if the ID were a NUMBER not STRING

12. Recordset.[id] vs Recordset![id] what is the difference

 

 
Powered by phpBB® Forum Software