Page 1 of 1

Deployment dependencies for VLC ActiveX

Posted: 07 Jan 2015 07:30
by FetterDoubt
I have built an InteropForm User Control containing a single VLC ActiveX control which I have successfully tested in .NET and, as desired, in VB6. I would like to deploy this VB6 (legacy) application but regardless of which DLL's I include in the installer, running the app always generates error 339:

Run-time error '339':

Component 'MediaGunUserControlLibrary.tlb' or one of its dependencies
not correctly registered: a file is missing or invalid.



It is referring to the User Control that I built and, yes, MediaGunUserControlLibrary.tlb is in the same folder as the .exe - along with all other possible DLL and dependencies I can track down.

Perhaps I'm not smart enough, but I read this and frankly I don't understand it:

http://blogs.msdn.com/b/vbteam/archive/ ... olkit.aspx

All of this is really beyond the scope of this forum but in case I'm (not) doing something stupid, can someone please tell me what is required in order to distribute an application using the VLC ActiveX component? So far I have included the following (plus many other possible dependent DLLs) in the installer and they are all in the same folder as the .exe:

MediaGunUserControlLibrary.dll
MediaGunUserControlLibrary.tlb
AxInterop.AXVLC.dll
Interop.AXVLC.dll