Commit 5fa6fbc1 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

ActiveX: unregister 64bits and 32bits dll independently

Close #16535
parent 534741d1
...@@ -156,7 +156,11 @@ static void UnregisterProgID(REFCLSID rclsid, unsigned int version) ...@@ -156,7 +156,11 @@ static void UnregisterProgID(REFCLSID rclsid, unsigned int version)
STDAPI DllUnregisterServer(VOID) STDAPI DllUnregisterServer(VOID)
{ {
// unregister type lib from the registry // unregister type lib from the registry
#if !defined(_WIN64)
UnRegisterTypeLib(LIBID_AXVLC, 1, 0, LOCALE_NEUTRAL, SYS_WIN32); 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 // remove component categories we supports
ICatRegister *pcr; ICatRegister *pcr;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment