<div>Ok... I was able to change the CLSID without changing the axvlc.idl.  I changed the GUID references for CLSID_VLCPlugin2 in the axvlc_idl.h/.c   <br><br>I think this is working although there still seems to be references somewhere because when I use ProcessMonitor and do a search for axvlc.dll even though my CLSID is targeted I still see the VLC active X plugin being used along with the one that I created.  With no VLC installed the active x plugin I created works and there are no extra instances running.  So, I still have some references to figure out, but I'm happy with that for now.<br>
<br>That being said I still would like to be able to compile the ActiveX plugin.  Since it appears that windows is the prefered way to do this I installed cygwin and attempted to build the plugin using midl.  I'm getting the following errors(this code is unmodified directly from the .tar file)<br>
</div>
<div>$ midl -Oicf -error all -env win32 -tlb axvlc.tlb -iid axvlc_idl.c -h axvlc_idl<br>.h axvlc.idl<br>Microsoft (R) MIDL Compiler Version 5.01.0164<br>Copyright (c) Microsoft Corp 1991-1997. All rights reserved.<br>Processing .\axvlc.idl<br>
axvlc.idl<br>Processing C:\Program Files\Microsoft Visual Studio\VC98\Include\ocidl.idl<br>ocidl.idl<br>Processing C:\Program Files\Microsoft Visual Studio\VC98\Include\oleidl.idl<br>oleidl.idl<br>Processing C:\Program Files\Microsoft Visual Studio\VC98\Include\objidl.idl<br>
objidl.idl<br>Processing C:\Program Files\Microsoft Visual Studio\VC98\Include\unknwn.idl<br>unknwn.idl<br>Processing C:\Program Files\Microsoft Visual Studio\VC98\Include\wtypes.idl<br>wtypes.idl<br>Processing C:\Program Files\Microsoft Visual Studio\VC98\Include\oaidl.idl<br>
oaidl.idl<br>Processing C:\Program Files\Microsoft Visual Studio\VC98\Include\servprov.idl<br>servprov.idl<br>Processing C:\Program Files\Microsoft Visual Studio\VC98\Include\urlmon.idl<br>urlmon.idl<br>Processing C:\Program Files\Microsoft Visual Studio\VC98\Include\msxml.idl<br>
msxml.idl<br>.\axvlc.idl(405) : error MIDL2025 : syntax error : expecting a declarator or * n<br>ear "enable"<br>.\axvlc.idl(405) : error MIDL2025 : syntax error : expecting ; near "enable"<br>.\axvlc.idl(407) : error MIDL2025 : syntax error : expecting a declarator or * n<br>
ear "disable"<br>.\axvlc.idl(407) : error MIDL2025 : syntax error : expecting ; near "disable"<br>.\axvlc.idl(458) : error MIDL2025 : syntax error : expecting a declarator or * n<br>ear "enable"<br>
.\axvlc.idl(458) : error MIDL2025 : syntax error : expecting ; near "enable"<br>.\axvlc.idl(460) : error MIDL2025 : syntax error : expecting a declarator or * n<br>ear "disable"<br>.\axvlc.idl(460) : error MIDL2025 : syntax error : expecting ; near "disable"<br>
.\axvlc.idl(505) : error MIDL2025 : syntax error : expecting a declarator or * n<br>ear "enable"<br>.\axvlc.idl(505) : error MIDL2025 : syntax error : expecting ; near "enable"<br>.\axvlc.idl(505) : error MIDL2026 : cannot recover from earlier syntax errors; a<br>
borting compilation</div>
<div> </div>
<div> </div>
<div>Thanks again!</div>
<div> </div>
<div>Shane<br></div>
<div class="gmail_quote">On Fri, Oct 28, 2011 at 1:14 PM, Jean-Baptiste Kempf <span dir="ltr"><<a href="mailto:jb@videolan.org" target="_blank">jb@videolan.org</a>></span> wrote:<br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">Hello,<br><br>Sorry for the delay..<br><br>Back to the topic, no you don't need to run the widl to change the<br>
CLSID, IIRC.<br>I haven't been compiling the .idl files since a long time, and I last<br>did it on Windows. I'll have a look at that later, when I come back.<br><br>On Thu, Oct 27, 2011 at 11:55:41AM -0400, Shane Phelan wrote :<br>

<div>
<div></div>
<div>> Has anyone out there compiled the ActiveX plugin recently?  I'm sure it's<br>> been a while since as j-b says normally there is no reason to do this, but I<br>> would really like to be able to run a version I've compiled and the "real"<br>
> VLC side by side on the same system.  If there is a way to do this without<br>> compiling the plugin I'm open to that as well.<br>><br>> Thanks again.<br>><br>> -Shane<br>><br>> On Wed, Oct 26, 2011 at 2:38 PM, Shane Phelan <<a href="mailto:streamey@gmail.com" target="_blank">streamey@gmail.com</a>> wrote:<br>
><br>> > I'm trying to basically fork VLC I want to be able to modify the activeX<br>> > plugin while still allowing the real VLC plugin to reside and work on the<br>> > same system ( I've done this already for the mozilla plugin using MIME<br>
> > types).  I believe to do this I have to change the CLSID of the activeX<br>> > control which I believe means running the widl compiler.   I'm sure there is<br>> > more involved as well but this is where I'm at for the moment.<br>
> ><br>> > Thanks for your help.<br>> ><br>> > -Shane<br>> ><br>> ><br>> > On Wed, Oct 26, 2011 at 1:57 PM, Jean-Baptiste Kempf <<a href="mailto:jb@videolan.org" target="_blank">jb@videolan.org</a>>wrote:<br>
> ><br>> >> On Wed, Oct 26, 2011 at 01:56:38PM -0400, Shane Phelan wrote :<br>> >> > I'm trying to cross compile the activeX plugin in ubuntu by following<br>> >> the<br>> >> > README.TXT in the projects/activex folder.  I downloaded wine1.2 and ran<br>
> >> the<br>> >> > widl compiler, but it's complaining that it can't find the file<br>> >> "ocidl.idl"<br>> >> > this is the first line in the axvlc.idl which is importing it.  I see<br>
> >> that<br>> >> > ocidl.idl is normally part of the windows sdk so I would assume that<br>> >> wine is<br>> >> > supposed to supply this file, but I don't see it on my system anywhere.<br>
> >>  If<br>> >> > someone could help me out I would appreciate it.<br>> >><br>> >> There is absolutely no need to run the widl compiler, in normal cases.<br>> >><br>> >> Best Regards,<br>
> >><br>> >> --<br>> >> Jean-Baptiste Kempf<br>> >> <a href="http://www.jbkempf.com/" target="_blank">http://www.jbkempf.com/</a> - <a href="tel:%2B33%20672%20704%20734" target="_blank" value="+33672704734">+33 672 704 734</a><br>
> >> Sent from my Electronic Device<br>> >> _______________________________________________<br>> >> vlc-devel mailing list<br>> >> To unsubscribe or modify your subscription options:<br>
> >> <a href="http://mailman.videolan.org/listinfo/vlc-devel" target="_blank">http://mailman.videolan.org/listinfo/vlc-devel</a><br>> >><br>> ><br>> ><br><br>> _______________________________________________<br>
> vlc-devel mailing list<br>> To unsubscribe or modify your subscription options:<br>> <a href="http://mailman.videolan.org/listinfo/vlc-devel" target="_blank">http://mailman.videolan.org/listinfo/vlc-devel</a><br>
<br><br></div></div>--<br>
<div>
<div></div>
<div>Best Regards,<br><br>--<br>Jean-Baptiste Kempf<br><a href="http://www.jbkempf.com/" target="_blank">http://www.jbkempf.com/</a> - <a href="tel:%2B33%20672%20704%20734" target="_blank" value="+33672704734">+33 672 704 734</a><br>
Sent from my Electronic Device<br>_______________________________________________<br>vlc-devel mailing list<br>To unsubscribe or modify your subscription options:<br><a href="http://mailman.videolan.org/listinfo/vlc-devel" target="_blank">http://mailman.videolan.org/listinfo/vlc-devel</a><br>
</div></div></blockquote></div><br>