I have a project which is programmed in seperated dll's. Now, I want to update one dll but that seems impossible without updating the main exe. How can i update the dll only? Thanks for your help!
Printable View
I have a project which is programmed in seperated dll's. Now, I want to update one dll but that seems impossible without updating the main exe. How can i update the dll only? Thanks for your help!
Hi,
This is the whole point of creating dll files so that you just replace the parts of the program as and when necessary.
You should be able to simply replace the dll you need to with the new one as long as (very important this!!) you have preserved Binary Compatibility. What this means is that:
a) you haven't removed or changed any of the dll's
Methods/Propertys since the last version. (You may add too though!)
and
b) In your project properties, you have compatibility set to binary.
If you try to compile a project that has been set to binary compatibility and it breaks it, then you will be warned by the compiler.
IUnknown
I can't set project propeties to binary in a normal project. That's only possible when I set the project to an activeX exe, and that's not what I want.
I want a standalone executable which uses dll's in references. But if I compile a new dll (not changed any methods) i get that annoying error message.
Perhaps I do something wrong?
???
You also get the option to set Binary Compatibility in ActiveX Dll projects.
I assume the annoying message is 'Error:429 ActiveX can't create component'??
IUnknown