summaryrefslogtreecommitdiff
path: root/plugins/ShlExt/shlext.dpr
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-03-18 08:18:13 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-03-18 08:18:13 +0000
commite63908912809cd6aeeeb2d068da562c227cbd3a9 (patch)
treedb3d95b3fc111d31d1a4dc23d8e094990105014f /plugins/ShlExt/shlext.dpr
parentd90a9d04b3b6e2beaa31b311fd38b886a46bab72 (diff)
clutch for pascal plugins not to eat memory on thread creation
git-svn-id: http://svn.miranda-ng.org/main/trunk@4085 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/ShlExt/shlext.dpr')
-rw-r--r--plugins/ShlExt/shlext.dpr9
1 files changed, 4 insertions, 5 deletions
diff --git a/plugins/ShlExt/shlext.dpr b/plugins/ShlExt/shlext.dpr
index f8a9cb0420..32d1eab0c7 100644
--- a/plugins/ShlExt/shlext.dpr
+++ b/plugins/ShlExt/shlext.dpr
@@ -1,4 +1,4 @@
-{$IFDEF FPC}
+{$IFDEF FPC}
{$PACKRECORDS 4}
{$MODE Delphi}
{$ASMMODE intel}
@@ -384,13 +384,12 @@ end;
{$R shldlgs.res}
exports
-
MirandaPluginInfoEx, Load, Unload;
exports
-
DllGetClassObject, DllCanUnloadNow, DllRegisterServer, DllUnregisterServer;
-begin
+initialization
+ DisableThreadLibraryCalls(hInstance);
-end.
+end.