cModuleSync runtime error in x64 library
Posted: Sun Nov 20, 2011 4:58 pm
Hello, I'm running into a runtime error in my application when dynamically allocating a cModuleSync object. Basically the program crashes and stops working once the line below is executed. Other CameraLibrary functions work fine: cameras are found and initialized.
cModuleSync * sync = new cModuleSync();
I compiled the FrameSynchronization sample project into a x64 application and linked with the x64 camera library (cameralibraryx64) to test this. It crashes in the same way. The sample project works fine for me in a 32 bit configuration with the same machine, IDE, and project file.
If I change to static object creation (ie: cModuleSync sync;) the x64 application runs correctly. It would really give me more flexibility in my application to be able to dynamically allocate the sync object.
Has anyone else observed this issue? Any ideas what might be going wrong?
Thanks for the insight,
Doug
I'm working on a system running Vista x64 and Visual Studio 2010
cModuleSync * sync = new cModuleSync();
I compiled the FrameSynchronization sample project into a x64 application and linked with the x64 camera library (cameralibraryx64) to test this. It crashes in the same way. The sample project works fine for me in a 32 bit configuration with the same machine, IDE, and project file.
If I change to static object creation (ie: cModuleSync sync;) the x64 application runs correctly. It would really give me more flexibility in my application to be able to dynamically allocate the sync object.
Has anyone else observed this issue? Any ideas what might be going wrong?
Thanks for the insight,
Doug
I'm working on a system running Vista x64 and Visual Studio 2010