Search found 3 matches

by sdgnovb
Mon Jan 14, 2013 6:08 pm
Forum: Camera SDK
Topic: Possible heap corruption (CameraSDK 1.1.3Final, VS2008)
Replies: 3
Views: 3978

Re: (NA) Re: Possible heap corruption (CameraSDK 1.1.3Final, VS2008)

Dear Brent, thank you for your answer, but this has nothing to do with the problem and is not the solution. Please publish my previous comment explaining the solution, so that other developers can find it. I am sure there are many that don't just use your sample projects. Again: The preprocessor def...
by sdgnovb
Sat Jan 12, 2013 8:51 pm
Forum: Camera SDK
Topic: Possible heap corruption (CameraSDK 1.1.3Final, VS2008)
Replies: 3
Views: 3978

Re: Possible heap corruption (CameraSDK 1.1.3Final, VS2008)

I found the solution myself now: Apparently the preprocessor definition CAMERALIBRARY_IMPORTS must be set before including the CameraLibrary headers. I would like to point out that this is NOT DOCUMENTED ANYWHERE and is extremely difficult to track down! "Malloc always returning NULL pointers&q...
by sdgnovb
Thu Jan 10, 2013 6:38 pm
Forum: Camera SDK
Topic: Possible heap corruption (CameraSDK 1.1.3Final, VS2008)
Replies: 3
Views: 3978

Possible heap corruption (CameraSDK 1.1.3Final, VS2008)

Hi. I've been trying to include the CameraSDK into my project, but got strange bugs where I could not allocate any memory anymore. Tracking them down, I reached this point: int main(int argc, char *argv[]) { printf("-> malloc 1 :: %X \n",malloc(1)); // <-- this will return a valid memory a...