Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP 5.0 app calling VFP 6.0 dll calling third party fll
Message
De
22/03/2001 16:09:16
Valter Herman
Tuesday Morning, Inc.
Dallas, Texas, États-Unis
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
VFP 5.0 app calling VFP 6.0 dll calling third party fll
Divers
Thread ID:
00487779
Message ID:
00487779
Vues:
46
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.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform