PDA

View Full Version : MemoryGetImageData not a member? Help!



sapbucket
October 25, 2004, 02:29:59
Hello,

I just got a firewire camera and am trying to build a VB application using the examples on the imagingsource support pages. The example that I want to have work is the INVERT example:

http://www.imagingcontrol.com/ic/docs/html/activex/meth_descICImagingControl_MemoryGetImageData.htm

However, when I run this example I get the following error

code from example:
ImageData = IcImagingControl1.MemoryGetImageData

error:
'MemoryGetImageData' is a not a member of "TIS.Imaging.ICImagingControl'.

I do not understand. I have installed the Image Control software. ALL the members of the imaging control should be available to me, not just some as I see now.

HELP!!! I need to be able to access the image data in realtime.

I am using Windows XP Pro and Microsoft Visual Basic .NET

sapbucket
October 25, 2004, 08:31:37
sapbucket,

You need to look at the documentation for .NET because you are using VB.NET. The documentation you are looking at is for a different type of developer.

Regards,

sapbucket

Stefan Geissler
October 25, 2004, 11:29:01
Hello,

You are right. You should not use the ActiveX Control in .NET. The image processing sample for Visual Basic .NET is documented here:
http://www.imagingcontrol.com/ic/docs/html/dotnet/ImageProcessing.htm

If you want to perform expensive image processing, you should change to C#, because you can perform byte wise unsafe (fast) operations with it.
To convert your Visual Basic .NET project to C#, search for a converter in the internet.