Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
New
Message
De
07/11/1997 13:36:23
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Titre:
New
Divers
Thread ID:
00058935
Message ID:
00058935
Vues:
81
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?
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform