Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP goes poof upon CLEAR DLLS
Message
From
04/06/2003 09:55:24
Geert Van Snik
Zorgned Automatisering Bv
Wageningen, Netherlands
 
 
To
04/06/2003 07:10:37
Neil Mc Donald
Cencom Systems P/L
The Sun, Australia
General information
Forum:
Visual FoxPro
Category:
Third party products
Miscellaneous
Thread ID:
00796026
Message ID:
00796156
Views:
40
I'm not quite sure on how to use this. Should I add it to my project?
Anyway, I did find one loose end which I cleared, but it's still buggy.

As I already replied to Marvin, the problem is happens when clearing the last of the functions that I previous declared. Not clearing the DLL at all as Anatoliy suggested seems to work but still leaves me with one problem:

If I run my app in VFP (so not the exe) and use the DLL as described everything seems to go just as it should (or so it seems), but when I close my app and then start it again (still within VFP) it'll crash.
The debugger shows that it's crashing on an object I'm using in my own object (the one talking to the DLL). This is the loose end I mentioned earlier, which is resolved (it should be released in the Destroy of my object)

Now looking at a compiled version, it's different. Running the app and using the DLL result in the executable crashing when trying to exit the application (I'm not releasing the DLL here, when I do, it'll crash after my class has done it's work and reached the Destroy function) If I don't use the DLL it'll continue happily everafter.

I suspect a faulty DLL (I'm in the progress of getting an update), but maybe you see something I overlooked.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform