Sign in to follow this  
roby65

[VB6]Problem with runtime dll

Recommended Posts

Hi guys, i'm gonna write my problem with dinamically load dll in VB6 Scenario: I have a VB6 program that executes a dll, when it finds an update, it unloads the dll, download the updated version, load it and call a method in it. The VB6 program is a service. Problem: I use CreateObject to load the dll, and it's ok. The problem is that if i remove the dll and i use another time CreateObject, it recreates the object from the dll -> it uses the old class (maybe cache or what?!) This is a real problem: if i delete the actual dll and replace it with a new version, the VB6 program will continue to load the old class. Why? Solutions? Workarounds?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this