summaryrefslogtreecommitdiff
path: root/setup_native/source/win32/customactions/regactivex
diff options
context:
space:
mode:
Diffstat (limited to 'setup_native/source/win32/customactions/regactivex')
-rw-r--r--setup_native/source/win32/customactions/regactivex/regactivex.cxx4
-rw-r--r--setup_native/source/win32/customactions/regactivex/regactivex.def4
2 files changed, 2 insertions, 6 deletions
diff --git a/setup_native/source/win32/customactions/regactivex/regactivex.cxx b/setup_native/source/win32/customactions/regactivex/regactivex.cxx
index 561ced1d906e..c9fb5b5db250 100644
--- a/setup_native/source/win32/customactions/regactivex/regactivex.cxx
+++ b/setup_native/source/win32/customactions/regactivex/regactivex.cxx
@@ -259,7 +259,7 @@ BOOL MakeInstallFor64Bit( MSIHANDLE hMSI )
return bResult;
}
-extern "C" UINT __stdcall InstallActiveXControl( MSIHANDLE hMSI )
+extern "C" __declspec(dllexport) UINT __stdcall InstallActiveXControl( MSIHANDLE hMSI )
{
INSTALLSTATE current_state;
INSTALLSTATE future_state;
@@ -306,7 +306,7 @@ extern "C" UINT __stdcall InstallActiveXControl( MSIHANDLE hMSI )
}
-extern "C" UINT __stdcall DeinstallActiveXControl( MSIHANDLE hMSI )
+extern "C" __declspec(dllexport) UINT __stdcall DeinstallActiveXControl( MSIHANDLE hMSI )
{
INSTALLSTATE current_state;
INSTALLSTATE future_state;
diff --git a/setup_native/source/win32/customactions/regactivex/regactivex.def b/setup_native/source/win32/customactions/regactivex/regactivex.def
deleted file mode 100644
index 8a4c744d78a0..000000000000
--- a/setup_native/source/win32/customactions/regactivex/regactivex.def
+++ /dev/null
@@ -1,4 +0,0 @@
-LIBRARY "regactivex.dll"
-EXPORTS
- InstallActiveXControl
- DeinstallActiveXControl \ No newline at end of file