|
-
Nov 26th, 2001, 06:03 AM
#1
Thread Starter
Junior Member
Problem with recompiling OCX - CLSID
Hello there.
I have created some controls (like coolbar, subclassing, hooking controls).
However, If I recompile the source, the classes in the control get a new CLSID. Old programs can't use my control anymore.
How can I recompile without needing to recompile the other programs aswell. I have heard something about working with typeLibs. Can anyone explain that topic aswell?
-
Nov 26th, 2001, 07:58 AM
#2
-= B u g S l a y e r =-
hi there yapp,
I think what u want to do can be achieved by setting the OCX/DLL projects Version Compability mode to Binary Compability
MSDN
Binary Compatibility — Useful for maintaining compatibility among projects that have been compiled using your component.
-
Nov 26th, 2001, 10:38 AM
#3
Thread Starter
Junior Member
I have been using that. Thanks for your fast reply anyway 
Binary compat. is not exactly what I want.
I have seen some magic with type libaries...
Binary compatibility recompiles the project, but creates a new version of the VTABLE for each class. The VTABLE is a table with data about all the methods attached to a class.
I want to create a fresh new file, with is still compatible with the previous file. Off course I can't change the method names or parameters, but it would be nice If I can even overrule that...
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
|