• Advertisement
Sign in to follow this  

[VB6]Problem with runtime dll

This topic is 2888 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

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
Advertisement
Sign in to follow this  

  • Advertisement