Page 1 of 1

Can Not Register (REGSVR32) VLC ActiveX Control

Posted: 08 Nov 2007 15:42
by cashum
I am still receiving the following error message when trying to register the ActiveX control on my Windows XP box after compiling with Cygwin:
axvlc.dll was loaded, but the DllRegisterServer entry point was not found.
This file can not be registered.
Any suggestions?

Re: Can Not Register (REGSVR32) VLC ActiveX Control

Posted: 12 Nov 2007 16:10
by -ncoder-
Hi Cashum,
The DllRegisterServer is exported as DllRegisterServer@0 by current gcc configuration(if it has to do with gcc at all),
no mangling or decoration is needed in the export (they should just be DllRegisterServer and DllUnregisterServer), that's why it doesn't work ...
extern "C" does not help , and they've always been declared as STDAPI ....
As for the solution, I got none actually... if someone has a clue , at least two of us will be glad to hear.

Re: Can Not Register (REGSVR32) VLC ActiveX Control

Posted: 13 Nov 2007 19:48
by pacchij
Hi,

I faced same problem. But I found that after loading libvlc.dll (with loadlibrary), registerying vlc is successfull.

You can test this programatically.

I am not sure why it required libvlc.dll to be preloaded.

Even simple LoadLibrary of axVlc.dll fails without preloading libvlc.dll.

[SOLVED] Can Not Register (REGSVR32) VLC ActiveX Control

Posted: 20 Nov 2007 12:53
by Quovodis
there was a problem in our build system whereby the DllRegisterServer@0 API didn't have its postfix removed by the linker, which would cause registration problem, all is fixed as of 20-Nov-2007.

please note that axvlc.dll (the version in 0.9.0-svn) is dependent on libvlc.dll and libvlc-control.dll, therefore when registering all DLLs must be either in the same directory or reachable through a search in PATH

enjoy