Ok im having issues with dll's... I had this issue before and you guys knew the answer, so here's hoping.
here is my declaration:
Code:
int __declspec(dllexport) StartUpPlot (char* TestFileA, char* TestFileB)
{
int value;
value = TakeData(TestFileA, TestFileB);
return value;
}
and here is my error:
Code:
Compiling...
StartUpPlot.cpp
C:\AlazarTech\ATS-SDK\V5_2_0\ATS460-SDK\Development\Beta\StartUpPlot\StartUpPlot.cpp(186) : error C2065: 'malloc' : undeclared identifier
C:\AlazarTech\ATS-SDK\V5_2_0\ATS460-SDK\Development\Beta\StartUpPlot\StartUpPlot.cpp(189) : error C2065: 'free' : undeclared identifier
Error executing cl.exe.
StartUpPlot.obj - 2 error(s), 0 warning(s)
i tried to use:
Code:
#include <malloc.h>
but it did nothing.