Author: reimar Date: Fri Aug 27 21:48:39 2010 New Revision: 32026 Log: 100l, we need to search for SetDllDirectoryA instead of SetDllDirectory Modified: trunk/mplayer.c Modified: trunk/mplayer.c ============================================================================== --- trunk/mplayer.c Fri Aug 27 18:28:53 2010 (r32025) +++ trunk/mplayer.c Fri Aug 27 21:48:39 2010 (r32026) @@ -2771,7 +2771,7 @@ int gui_no_filename=0; BOOL WINAPI (*setDllDir)(LPCTSTR) = NULL; if (kernel32) { setDEP = GetProcAddress(kernel32, "SetProcessDEPPolicy"); - setDllDir = GetProcAddress(kernel32, "SetDllDirectory"); + setDllDir = GetProcAddress(kernel32, "SetDllDirectoryA"); } if (setDEP) setDEP(3); if (setDllDir) setDllDir("");
participants (1)
-
reimar