|
-
Jun 15th, 2001, 07:53 AM
#1
Thread Starter
Addicted Member
Binary compatibility
I am trying to learn what binary compatibity is, how it works and how to set it up...
Does any of you have tips on where to look for that information ?
Thanks !
-
Jun 15th, 2001, 08:48 AM
#2
Fanatic Member
http://msdn.microsoft.com
search on:
VB component versioning
Binary Compatibility
(and other relevant keywords)
Crispin
VB6 ENT SP5
VB.NET
W2K ADV SVR SP3
WWW.BLOCKSOFT.CO.UK
[Microsoft Basic: 1976-2001, RIP]
-
Jun 15th, 2001, 09:19 AM
#3
When you register a dll file on a pc, i.e. in an installation, the PC will create a registry folder and reference to tell the PC of where the file is, what it does etc.
Lets say we have an installation that puts dllxxx down as :
regkeydllfile1
Now, every time you recompile / make a dll file, a new unique key's generated.So, with our installation, if you wanted to replace just that dll on the pc 'cause you've added some super-funky extra code to the file, copied the file to the pc & reregisted it, this would create a new registry key :
regkeydllfile2 for example
When you run you're exe, it'll pick up the location from the registry (regkeydllfile1) and run the old copy - not recognising there's a new copy of the dll - bugger 
Rather than recompiling the project, and making a new setup file just for this, you can set the binary compatibilty on a dll file in the project. That way, no matter how many times it's recompiled, the dll will overwrite the old registry key (regkeydllfile1) rather than creating a new one each time, so you can replace a single file on the PC.
[phew, hope that made some sense !]
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
|