Information générale
Catégorie:
Fonctions Windows API
No wonder I always thought C stunk! - To "new" as a verb.
On the other hand, those who have lost their virginity might be very interested.
Wow
Jim Nelson
>I have some C++ code as follows:
>
> char *pch = new char[cstr.GetLength() + 1];
> int *inum = new int[ilen];
>
>These cause a memory leak when exiting FoxPro in debug from VC++. The examples I've seen in the VFP LCK documentation cover handle to pointer memory allocation.
>
>Is there a way to new a pointer in an FLL? Or how should this be done?
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement