ChewyMasta
ChewyMasta

Reputation: 73

VB6 dll compatibility?

I have greatly edited a VB6 dll and when I try to compile it, I get a notification that informs me that this dll is no longer compatible with the older version? I am unsure how to proceed, originally when I made minor changes I had no problem compiling the new dll. I have tried following this guide to solve my problem: Resetting project compatibility in vb6 However when I reference the dll in my main application and try to compile it I get the following error: "Error in loading dll"

I am really confused as to what I have to do in order for my application to realize that the dll is in fact referenced and that I have made changes to it.

Here is what appears:

enter image description here

Help would be much appreciated! Thanks

Upvotes: 0

Views: 500

Answers (1)

Bob77
Bob77

Reputation: 13267

You need to read How To Use Project and Binary Compatibility and other related MS KB articles, as well as the parts of the VB6 manuals covering this subject.

Do this before you go further to avoid creating a pile of orphaned entries in the registry.

Once you have binary compatibility under control things get easier. However at this point you are sort of stuck, and will have to go into your client Project and remove the original reference and then add a new one.

Upvotes: 2

Related Questions