summaryrefslogtreecommitdiff
path: root/plugins/Actman
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Actman')
-rw-r--r--plugins/Actman/actman.dpr8
1 files changed, 5 insertions, 3 deletions
diff --git a/plugins/Actman/actman.dpr b/plugins/Actman/actman.dpr
index caf0319c6a..5428411585 100644
--- a/plugins/Actman/actman.dpr
+++ b/plugins/Actman/actman.dpr
@@ -136,7 +136,7 @@ begin
LoadGroups;
RegisterIcons;
-
+
opthook :=HookEvent(ME_OPT_INITIALISE ,@OnOptInitialise);
hHookShutdown:=HookEvent(ME_SYSTEM_SHUTDOWN{ME_SYSTEM_OKTOEXIT},@PreShutdown);
NotifyEventHooks(hHookChanged,twparam(ACTM_LOADED),0);
@@ -183,7 +183,9 @@ begin
end;
exports
- Load, Unload,
- MirandaPluginInfoEx;
+ Load, Unload, MirandaPluginInfoEx;
+
+initialization
+ DisableThreadLibraryCalls(hInstance);
end.