Mercurial > pidgin
comparison src/win_gaim.c @ 10898:cfacc0de0d94
[gaim-migrate @ 12614]
dave142 in patch #1193896 noticed that the SetDllDirectory magic probably never worked... This fixes it.
committer: Tailor Script <tailor@pidgin.im>
author | Daniel Atallah <daniel.atallah@gmail.com> |
---|---|
date | Tue, 03 May 2005 04:40:53 +0000 |
parents | 7818a5e9e3a2 |
children | 52d6b10025ca |
comparison
equal
deleted
inserted
replaced
10897:04cb7363260d | 10898:cfacc0de0d94 |
---|---|
102 } | 102 } |
103 | 103 |
104 printf("GTK+ path found: %s\n", path); | 104 printf("GTK+ path found: %s\n", path); |
105 | 105 |
106 if((hmod=GetModuleHandle("kernel32.dll"))) { | 106 if((hmod=GetModuleHandle("kernel32.dll"))) { |
107 MySetDllDirectory = (LPFNSETDLLDIRECTORY)GetProcAddress(hmod, "SetDllDirectory"); | 107 MySetDllDirectory = (LPFNSETDLLDIRECTORY)GetProcAddress(hmod, "SetDllDirectoryA"); |
108 if(!MySetDllDirectory) | 108 if(!MySetDllDirectory) |
109 printf("SetDllDirectory not supported\n"); | 109 printf("SetDllDirectory not supported\n"); |
110 } | 110 } |
111 else | 111 else |
112 printf("Error getting kernel32.dll module handle\n"); | 112 printf("Error getting kernel32.dll module handle\n"); |