kernel32: better describe an error

André Hentschel nerv at dawncrow.de
Fri Aug 27 14:47:53 CDT 2010


already seen confused users.
e.g. http://b5a7b7d40ee0d99b.paste.se/ (which containts also another problem to fix :)
"environment" leads to much guess work
---
 dlls/kernel32/process.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/kernel32/process.c b/dlls/kernel32/process.c
index 65dc2eb..ef65a86 100644
--- a/dlls/kernel32/process.c
+++ b/dlls/kernel32/process.c
@@ -1659,7 +1659,7 @@ static BOOL create_process( HANDLE hFile, LPCWSTR filename, LPWSTR cmd_line, LPW
 
     if (!is_win64 && !is_wow64 && (binary_info->flags & BINARY_FLAG_64BIT))
     {
-        ERR( "starting 64-bit process %s not supported on this environment\n", debugstr_w(filename) );
+        ERR( "starting 64-bit process %s not supported in 32-bit wineprefix\n", debugstr_w(filename) );
         SetLastError( ERROR_BAD_EXE_FORMAT );
         return FALSE;
     }
-- 

Best Regards, André Hentschel



More information about the wine-patches mailing list