Unhandled Exception with the sample program!

Post Reply
Buckcherry
Posts: 1
Joined: Wed Nov 07, 2007 3:29 am

Unhandled Exception with the sample program!

Post by Buckcherry »

Hi everybody,

I get an unhandled exception when I uninitialize the cameras. My case is as follows:

I've purchased 4 C120 cameras.

Following the instructions in the Download section:

http://www.naturalpoint.com/optitrack/s ... loads.html

I have download and installed the following files:

- Point Cloud Official Release - Version 1.0.031 - Final C
- MS VC 2005 Runtime
- .NET 3.0 Runtime
- OptiTrack Official Release - Version 1.1.031d.

After doing this, and once I have calibrated correctly the four cameras, I have download the C++ Win32 VC8/2005 Sample from:

http://www.naturalpoint.com/optitrack/s ... tions.html

And I got the application compiled without problems.

But, the problem arises when the cameras have to be uninitialized.

Debugging the application, it crashes after the following line:

CoUninitialize();

An unhandled exception appears.

What is wrong?.

Thanks in advance.
beckdo
Posts: 520
Joined: Tue Jan 02, 2007 2:02 pm

Re: Unhandled Exception with the sample program!

Post by beckdo »

Hi Buck,

I'm not sure why you're having this issue with the Window's COM system. I've never seen the CoInitialize() or CoUninitialize() calls fail.

I would suggest that you try this sample application which circumvents the COM system completely:

http://media.naturalpoint.com/software/ ... OM_DLL.zip
Post Reply