18 Apr
2007
18 Apr
'07
7:11 a.m.
+/*********************************************************************** + * NeedCurrentDirectoryForExePathA (KERNEL32.@) + */ +BOOL WINAPI NeedCurrentDirectoryForExePathA( LPCSTR name ) +{ + WCHAR *nameW; + + if (!(nameW = FILE_name_AtoW( name, FALSE ))) return TRUE; If FILE_name_AtoW fails, the function fails, so the return value should be FALSE, shouldn't it ? Laurent On Wed, 18 Apr 2007 15:54:42 +0400, "Kirill K. Smirnov" <lich(a)math.spbu.ru> wrote:
Please, ignore my previous attempt.