Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DLL with memory leaks
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP2
Divers
Thread ID:
01562066
Message ID:
01562373
Vues:
54
>>Does anybody know if issuing CLEAR DLLS will clear the dll in such a way that any memory it leaked during execution is reclaimed before the app instance truly terminates?
>
>I can't say for certain, but I'd say no. Memory allocated in C code is going onto VFP's heap, and if the heap is leaking VFP has no idea what to clear out.
>
>As far as I know CLEAR DLLs only removes the name table that maps FoxPro's ability to call the DLL entry points in memory and unload the module (the DLL) code that it occupies. None of the allocated memory will be part of that since it runs inside of VFP's address space.
>
>+++ Rick ---

Amazing, Rick, giving great advice after 2:00 in the morning ;-)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform