diff options
author | Gurusamy Sarathy <gsar@cpan.org> | 2000-03-01 03:38:03 +0000 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 2000-03-01 03:38:03 +0000 |
commit | 2fa86c13816417d1d62616d1bb8114a5a9831c33 (patch) | |
tree | 2e7c243773cb4d59d9b7b093339f7a6993fb9ddf /win32/perllib.c | |
parent | 2be4c08b6f13de9eea531f8a8a2229b3bd245b1a (diff) | |
download | perl-2fa86c13816417d1d62616d1bb8114a5a9831c33.tar.gz |
Windows miscellany
p4raw-id: //depot/perl@5388
Diffstat (limited to 'win32/perllib.c')
-rw-r--r-- | win32/perllib.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/win32/perllib.c b/win32/perllib.c index 3aed2415fd..2a0cb85c92 100644 --- a/win32/perllib.c +++ b/win32/perllib.c @@ -334,6 +334,9 @@ RunPerl(int argc, char **argv, char **env) return (exitstatus); } +EXTERN_C void +set_w32_module_name(void); + BOOL APIENTRY DllMain(HANDLE hModule, /* DLL module handle */ DWORD fdwReason, /* reason called */ @@ -353,6 +356,7 @@ DllMain(HANDLE hModule, /* DLL module handle */ #endif DisableThreadLibraryCalls((HMODULE)hModule); w32_perldll_handle = hModule; + set_w32_module_name(); break; /* The DLL is detaching from a process due to |