InvalidOperationException in CameraCaptureDialog

  • Thread starter Thread starter andie
  • Start date Start date
A

andie

Hi guys,

I got a weird problem with the CameraCaptureDialog feature.

I am using an i-mate JAMin device to develop an application for one of
my client. The solution structure contains several projects (one
Windows Application Type and 2 Class Library classes).

I called the CameraCaptureDialog from one of the ClassLibrary classes.
It throws InvalidOperationException.

I then tested using a new solution with a single Windows Application
project to test the CameraCaptureDialog itself. Just want to make sure
that CameraCaptureDialog is supported. Using the exactly same
properties to call the CameraCaptureDialog, the later works.

Anyone has any suggestion to get a workaround on this?

Regards,
Andie
 
Hi guys,

I got a weird problem with the CameraCaptureDialog feature.

I am using an i-mate JAMin device to develop an application for one of
my client. The solution structure contains several projects (one
Windows Application Type and 2 Class Library classes).

I called the CameraCaptureDialog from one of the ClassLibrary classes.
It throws InvalidOperationException.

I then tested using a new solution with a single Windows Application
project to test the CameraCaptureDialog itself. Just want to make sure
that CameraCaptureDialog is supported. Using the exactly same
properties to call the CameraCaptureDialog, the later works.

Anyone has any suggestion to get a workaround on this?

Regards,
Andie

I have previously had problems with this when a device is low on memory
 
Hi Guys,

Thanks for the response.

It appears that there is a memory leak in the application. That causes
the CameraCaptureDialog is unable to be launched.

Regards,
Andie
 
Back
Top