changeset 31945:0e720002f853

100l, we need to search for SetDllDirectoryA instead of SetDllDirectory
author reimar
date Fri, 27 Aug 2010 19:48:39 +0000
parents 68574c0269e4
children 923e9453ece9
files mplayer.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mplayer.c	Fri Aug 27 16:28:53 2010 +0000
+++ b/mplayer.c	Fri Aug 27 19:48:39 2010 +0000
@@ -2771,7 +2771,7 @@
 		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("");