Uldrer
January 26, 2011, 08:21:35
Hi,
I have been using a DFK 21AUC03 camera for software development on a x86 windows xp machine, using c++ and visual studio 2008. I'm using IC Imaging Control 3.0. On this computer I have no problems loading the camera using setupDeviceFromFile(). Due to changes in the project we have been forced to move the development to a windows 7 x64 machine, which has resulted in a weird error when trying to load the camera. The error received is:
Unhandled exception at 0x030c397f in "abc.exe": 0xC0000005: Access violation.
and it occurs for both setupDeviceFromFile() and LoadDeviceStateFromFile(). In the console "<device.xml> found, trying to open device" shows when using setupDeviceFromFile(), before it crashes.
I've tried to debug the problem with the DemoApp_vc8 and here I'm able to use both setupDeviceFromFile() and LoadDeviceStateFromFile() succesfully but in PixelFormat_vc8 I get the earlier mentioned error. The only difference between the two projects concerning the device setup is that DemoApp_vc8 is a windows application and not a console application, but I'm not sure this is the main reason for the error. My actual program is a console application as well so how can I get the device loading, to work properly for my console applications as well?
Thanks
Martin
I have been using a DFK 21AUC03 camera for software development on a x86 windows xp machine, using c++ and visual studio 2008. I'm using IC Imaging Control 3.0. On this computer I have no problems loading the camera using setupDeviceFromFile(). Due to changes in the project we have been forced to move the development to a windows 7 x64 machine, which has resulted in a weird error when trying to load the camera. The error received is:
Unhandled exception at 0x030c397f in "abc.exe": 0xC0000005: Access violation.
and it occurs for both setupDeviceFromFile() and LoadDeviceStateFromFile(). In the console "<device.xml> found, trying to open device" shows when using setupDeviceFromFile(), before it crashes.
I've tried to debug the problem with the DemoApp_vc8 and here I'm able to use both setupDeviceFromFile() and LoadDeviceStateFromFile() succesfully but in PixelFormat_vc8 I get the earlier mentioned error. The only difference between the two projects concerning the device setup is that DemoApp_vc8 is a windows application and not a console application, but I'm not sure this is the main reason for the error. My actual program is a console application as well so how can I get the device loading, to work properly for my console applications as well?
Thanks
Martin