InvalidOperationException in CameraCaptureDialog

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
 
C

CraigGRA

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
 
A

andie

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top