Click to See Complete Forum and Search --> : ActiveX


PhamThanhNam
August 16th, 1999, 03:29 AM
I using ActiveX DLL B in application A. After make EXE file A, i change DLL B and recompile it. Every one time recompile B i must remake application A
Help me !

Lothar Haensler
August 16th, 1999, 03:31 AM
in the IDE go to the Project Properties dialog an from the "Component" tab select binary compatibility.
(and read the online docs about compatibility)

PhamThanhNam
August 16th, 1999, 05:21 AM
Thanks for your help me !!!

vmkrish
September 8th, 1999, 06:37 AM
When an Application is using your component(DLL),You Should Change the Name of the Existing Method/Property/Class. If you change, existing application may not work properly.

And it is not that every time when you Modify&Compile your component you should re-compile your application(Which is impossible in real-time scenario).

All that you will have to do is Set the Version Compatibility Option Available in the Project-Component of the Component(DLL) to Binary Compatibility.

Now if you re-compile your COMPONENT you need not re-compile existing application. Reason When You select Binary Compatibility option CLASSID & GUID are Preserved. It does't generate a new ones.

Sent Your Comments to vmkrish@yahoo.com