Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP 5.0 app calling VFP 6.0 dll calling third party fll
Message
From
22/03/2001 16:09:16
Valter Herman
Tuesday Morning, Inc.
Dallas, Texas, United States
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
VFP 5.0 app calling VFP 6.0 dll calling third party fll
Miscellaneous
Thread ID:
00487779
Message ID:
00487779
Views:
47
I've recently acquired a project which steered me into a rather interesting scenario.
I created a dll using VFP 6.0 that calles a 3rd party fll. Now I'm using that dll in an exe I created with VFP 5.0. This all works fine and dandy until I quit the exe. At this time, a window's error occurs - 'VFP caused an invalid page fault in kernel32'. This will happen also when running the VFP 5.0 application in the development environment instead of a compiled exe. I've tried everything in the destroy event of the public class from the dll - 'release all', 'clear all', 'freelibrary', 'clear dlls', etc. I get sporadic results, sometimes the application finishes nicely at the end, other times when I run it, it crashes kernel32 often locking up the whole pc (with no code modification).
As a side note, the third party fll is a library from MagnaCarta (CommTools) that I use to access the comm ports.

I appreciate any input.
Next
Reply
Map
View

Click here to load this message in the networking platform