Hello,
I'm investigating memory leaks in my program. And I'd like to investigate one thing.
I have already read on this forum that CVI has its own free() and malloc() functions, and that free() calls don't really free the memory.
So, if I use a DLL built using CodeBlocks (which uses mingw compiler) will CVI "substitute" the free() and malloc() functions with its own function at link time ?
For your information, I link against this DLL using an import library. My CVI version is 2017.
Moreover, if CVI can substitute the functions, would it be different if I don't link using an import library but use LoadLibrary() instead ?
If I ask those questions, this is because I don't have memory leaks if I don't use the DLL.
So, either the problem is in the DLL (or in the way I use the DLL) or the problem is related to CVI through my suggested mechanism.
Thanks in advance.