Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
New
Message
From
07/11/1997 13:36:23
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Title:
New
Miscellaneous
Thread ID:
00058935
Message ID:
00058935
Views:
76
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
Map
View

Click here to load this message in the networking platform