PDA

View Full Version : Montivision SDK C# Examples



Mark Roberts
December 6, 2010, 12:52:08
Hi,

Apologies in advance if this is posted in the wrong location.

I have downloaded the Montivision SDK and have been trying to run the example 'DualCamera 2005' which is part of the C# examples. I am running Visual Studio 2008 and have used the automated conversion to convert to 2008 but I have build errors when trying to build the project. The errors refer to the 4 lines of code which start MVGrabber.IMImageCapture3 m_Grabber1;
I have looked through the options to add a reference but can't seem to find the correct one to add, although I did a search on the PC for the MVG* which brought back references to MVGrabber.pas file to do with Delphi - I'm now further confused.

Any help Would be appreciated to point me in correct direction......

Just as a bit of back ground as to why I am looking at this example is that we would like to video an item from two locations simultaneously and this example seems as if it will do the trick.

Regards

Mark

mikec
December 6, 2010, 18:51:12
Hi Mark,

I'm not a MV guy, but I think this should help...

Within Visual Studio, right click on 'References', choose 'Add reference', then select the 'COM' tab in the Add Reference dialog.

Scroll down the list to "MV Image Grabber Type Library"

By the sounds of it, this is the one you need to add.

Mike.

Mark Roberts
December 7, 2010, 10:28:21
Mike,

Top man this sorted the problem.

Cheers

Mark (Newbee)