Reply to topic
cam ActiveX control?
Captain Xarzu


Joined: 22 Aug 2007
Posts: 2
Reply with quote
Hi Forum!

This is my first post.

So, let me start out running...

Is there an ActiveX control for a display from a cam? There must be one that I can drop into an MFC application.

In the resource editor there is a button for a "Custom Control" in the 2005 IDE but I also remember there used to be a special way to select from a list of Active X controls in the older versions of Visual Studio. I think it was "Add Control".

Has anyone tried something like this? If you have not, where would you look to find out something like this?

OK, so maybe MFC is a dead issue now days. But still, there must be ActiveX or COM components that people still use.

Andrew Kirillov wrote a motion detection program and posted it on:
http://www.codeproject.com/cs/media/Motion_Detection.asp
that seems to use some sort of plug-in. But it is written in C#. I tried poking around in this code but there is no resource view familiar to me.

Laurent Kempé wrote what seems to be a way to do it using C++ and ATL:
http://www.codeproject.com/webservices/webcam.asp
ATL is a form of COM. It looks good but the ATL component seems to be one that he wrote from scratch. Is this the only way to do this?

Other web sites seem to suggest that the activeX control comes with the camera manufacturers firmware.

There must be a standard way that it is done. Can anyone tell me?

I noticed in the Toolbox there is an Animation Control. I wonder if there is a way to make use of this.

http://msdn2.microsoft.com/en-us/library/0c4khh71(VS.80).aspx
says:

Using CAnimateCtrl

An animation control, represented by the class CAnimateCtrl, is a window that displays a clip in Audio Video Interleaved (AVI) format — the standard Windows video/audio format. An AVI clip is a series of bitmap frames, like a movie.

Since your thread continues executing while the AVI clip is displayed, one common use for an animation control is to indicate system activity during a lengthy operation. For example, the Windows Find dialog box displays a moving magnifying glass as the system searches for a file.

Animation controls can only play simple AVI clips, and they do not support sound. (For a complete list of limitations, see CAnimateCtrl.) Since the capabilities of an animation control are severely limited and subject to change, you should use an alternative such as the MCIWnd control if you need a control to provide multimedia playback and/or recording capabilities. For more information about the MCIWnd control, see the multimedia documentation.
cam ActiveX control?
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT  
Page 1 of 1  

  
  
 Reply to topic