General information
Category:
Windows API functions
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?
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only