[vlc-commits] ActiveX: unregister 64bits and 32bits dll independently

Jean-Baptiste Kempf git at videolan.org
Fri Feb 5 20:52:22 CET 2016


npapi-vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Fri Feb  5 20:51:50 2016 +0100| [5fa6fbc11cf5bad983f57656c0085e47e18fbf20] | committer: Jean-Baptiste Kempf

ActiveX: unregister 64bits and 32bits dll independently

Close #16535

> https://code.videolan.org/videolan/npapi-vlc/commit/5fa6fbc11cf5bad983f57656c0085e47e18fbf20
---

 activex/main.cpp | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/activex/main.cpp b/activex/main.cpp
index 33bdd56..63b72f6 100644
--- a/activex/main.cpp
+++ b/activex/main.cpp
@@ -156,7 +156,11 @@ static void UnregisterProgID(REFCLSID rclsid, unsigned int version)
 STDAPI DllUnregisterServer(VOID)
 {
     // unregister type lib from the registry
+#if !defined(_WIN64)
     UnRegisterTypeLib(LIBID_AXVLC, 1, 0, LOCALE_NEUTRAL, SYS_WIN32);
+#else
+    UnRegisterTypeLib(LIBID_AXVLC, 1, 0, LOCALE_NEUTRAL, SYS_WIN64);
+#endif
 
     // remove component categories we supports
     ICatRegister *pcr;



More information about the vlc-commits mailing list