AForge.NET

  :: AForge.NET Framework :: Articles :: Forums ::

VideoSource Propety Page

The forum is to discuss topics related to different areas of image processing and computer vision.

VideoSource Propety Page

Postby FileteConPatatas » Mon Mar 16, 2009 4:02 pm

Hy, I`m trying to show webcam`s properties using videoSource.DisplayPropertyPage( IntPtr.Zero ); like this example "http://code.google.com/p/aforge/wiki/Features2" but I always get this error: ERROR: Try to access protected memory.

The videoSource work perfectly, but i cant see the Property Page, Is valid this methods for all kinds of webcams?

Can some one help me please? I don´t understand why i need to pass IntPtr.zero like argument.

Thanks very much.
FileteConPatatas
 
Posts: 6
Joined: Thu Feb 12, 2009 5:50 pm

Re: VideoSource Propety Page

Postby andrew.kirillov » Mon Mar 16, 2009 4:35 pm

Hello,

Just tried that API and it works fine on my system (Vista, 32 bit system). What is your system?
With best regards,
Andrew


Interested in supporting AForge.NET Framework?
User avatar
andrew.kirillov
Site Admin, AForge.NET Developer
 
Posts: 3439
Joined: Fri Jan 23, 2009 9:12 am
Location: UK

Re: VideoSource Propety Page

Postby FileteConPatatas » Thu Mar 19, 2009 2:50 pm

Helo, my sytem is Windows XP Professional, version 2002 whit service pack 3 and 32 bit system, I`m going to try my program in my flatmate´s pc, he has the same system as you.
FileteConPatatas
 
Posts: 6
Joined: Thu Feb 12, 2009 5:50 pm




Return to Image Processing and Computer Vision

cron