Page 1 of 1

Problem using ActiveX control

Posted: 13 Sep 2007 07:22
by rsinha
Hello,

I am a newbie. To get a hang around, I decided to try and change the class id of the VLC ActiveX control (changed the 'axvlc.idl' as well, and compiled with midl), then do a 'make' for the whole app>
Alls well till now.
But in my custom test.htm which uses the newly created 'axvlc.dll' (its actually a copy of the test.htm provided with the code itself, only the ClassID and codebase is changed), it gives some problem.
I had registered the ActiveX control (using regsvr32)- the new test.htm loads the activeX xontrol as well... but it does not play anything.
I am not getting any errors as such- it just doesnt play anything.
Before I had made this change, that is with the original 'axvlc.dll', things were fine. Can anyone please tell me what has gone wrong?

I got a few other doubts as well:
1. What development environment you guys use if you HAVE to develop on windows?
2. Do we need to compile the whole project everytime we make a change in any module? Cant it be module-wise? If yes, how?
3. I am currently using Cygwin- the dll that comes with the VLC installation is in kbs and the one I created is almost 7 MB! Why?
4. When I run 'make' in Cygwin( I followed the instructions given on your site ''), it creates only one dll- 'axvlc.idl'. How come no other dll is created? What if I want to use only the 'libvlc.dll'?

Please help folks, lots of confusion... :| This is the first time I'll be using anything like 'make'. I have been using Visual Studios all my life :(

Thanks a lot!