|
-
Mar 11th, 2003, 03:31 AM
#1
Thread Starter
Addicted Member
Dll version compatibility
How do I make my dll version independant.
I have 1 dll and inside that dll, I call another dll. So my question is how can I recompile my second dll and register it, without having to recompile my first dll.
My second dll is not a reference in my first dll, instead i use
createobject to set a reference to my second dll.
-
Mar 11th, 2003, 07:36 AM
#2
If you don't break compatability on the second DLL, then there should be no reason why you would have to recompile the first. The way to keeps things version ignorant is to use CreateObject to establish the reference at runtime.
Laugh, and the world laughs with you. Cry, and you just water down your vodka.
Take credit, not responsibility
-
Mar 19th, 2003, 07:22 AM
#3
Junior Member
crptcblade's right.
Your 2nd DLL should keep "Binary Compatibility" to ensure that you don't need to recompile your 1st DLL.
I'm not so keen on the alternative of CreateObject as you can't guarantee that the 2nd DLL hasn't changed.
Unless you're doing all your processing work in the Class_Initialize event, or using Interfaces defined elsewhere, you are going to have to early bind to your 2nd DLL's classes. In which case maintaining compatiblity is your only way.
Enjoy
Dave
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
|