Can Not Register (REGSVR32) VLC ActiveX Control

Microsoft Windows specific usage questions
Forum rules
Please post only Windows specific questions in this forum category. If you don't know where to post, please read the different forums' rules. Thanks.
cashum
New Cone
New Cone
Posts: 5
Joined: 05 Nov 2007 21:54

Can Not Register (REGSVR32) VLC ActiveX Control

Postby cashum » 08 Nov 2007 15:42

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?

-ncoder-
New Cone
New Cone
Posts: 2
Joined: 12 Nov 2007 16:00

Re: Can Not Register (REGSVR32) VLC ActiveX Control

Postby -ncoder- » 12 Nov 2007 16:10

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.

pacchij
New Cone
New Cone
Posts: 1
Joined: 13 Nov 2007 19:38

Re: Can Not Register (REGSVR32) VLC ActiveX Control

Postby pacchij » 13 Nov 2007 19:48

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.

Quovodis
Cone that earned his stripes
Cone that earned his stripes
Posts: 271
Joined: 16 Jun 2004 11:13
Location: Cork, Ireland

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

Postby Quovodis » 20 Nov 2007 12:53

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


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: No registered users and 46 guests