Page 1 of 1

VC++ Sample for ActiveX

Posted: 16 Mar 2006 20:41
by MutantJedi
Hi

It's always good to see a sample that actually works to compare against.

I need to see an example of the VLC ActiveX control actually working with VC++, MFC

Thanks

Mark

more on what I need...

Posted: 16 Mar 2006 22:18
by MutantJedi
Hi all,

When I add the ActiveX control to a dialog, I can get a movie to play.

When I create a MFC class for an ActiveX control then create that class in a dialog (or other window), all I get is the pylon.

All I'd like to do is play a movie in the control.

this->fMovie.put_AutoPlay( TRUE );
this->fMovie.put_MRL( TEXT( "http://host/path/file.ext" ) );
this->fMovie.put_Position( 0.0f );
this->fMovie.play();

Ideas?

talking to myself :)

Posted: 17 Mar 2006 00:38
by MutantJedi
Here's a simple MFC VC++ project that I'm trying to learn how to use the ActiveX control with:

http://www3.telus.net/huntergates/VLC.zip

What am I doing wrong?

Mark

use of VLC ActiveX with MFC?

Posted: 15 Jan 2007 16:01
by lemangw
Hello!

I 've seen your post, and I currently have exactly the same problem:
When I add the ActiveX control to a dialog, I can get a movie to play.

When I create a MFC class for an ActiveX control then create that class in a dialog (or other window), all I get is the pylon.


Does it work now? Did you manage to solve your problem? Do you know were are the package sources you mentionned at this address http://www3.telus.net/huntergates/VLC.zip ? It seems that there is nothing anymore...

Many thanks by advance for your help, because I have found nothing on the web dealing with this.

G.