Hello Support,
Some of the DLL routines we need to call must return a string value (char *). If we allocate space on the system heap with malloc, and return a pointer to that space to MC, can we be sure that MC will, after the string has been used, free the space on the heap?
We will be calling the DLL routines a lot, and we don’t want to create a huge memory leak.
If you have any suggestions about this, please let us know.
Thanks,
Rob.
Does MC free space after calling custom DLL?
- Andrew Kirillov
- Posts: 1589
- Joined: 28 Jul 2005
- Has thanked: 2 times
- Been thanked: 31 times
- Contact: