Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
GlobalLock()
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Titre:
GlobalLock()
Divers
Thread ID:
00101339
Message ID:
00101339
Vues:
78
Is it possible to allocate global memory via the DECLARE DLL commands in VFP? I tend to believe it's not possible because the function GlobalLock() returns a pointer to the memory allocated by GlobalAlloc() and as far as I know, VFP doesn't support pointers or structurs that are commonly used in the winAPI. A proprietary DLL i'm using requires allocation of memory before calling it's functions (one of it's args is the pointer to the memory). I would like to allocate the memory from DLL calls from my program, but I think I may have to create some sort of wrapper DLL that will act as the middleman between my application and the proprietary DLL.

Bottom line: Can I use GlobalLock via DECLARE? (GlobalAlloc() *seems* to work)

Thanks.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform