Consoles (3/3)

Eric Pouech eric.pouech at wanadoo.fr
Wed Feb 26 14:03:04 CST 2003


but we also need to force console creation on jit debugging...
A+
-- 
Eric Pouech
-------------- next part --------------
Name:          jit_dbg
ChangeLog:     when running a debugger for jit exception handling, force console creation
License:       X11
GenDate:       2003/02/26 19:48:33 UTC
ModifiedFiles: win32/except.c
AddedFiles:    
===================================================================
RCS file: /home/cvs/cvsroot/wine/wine/win32/except.c,v
retrieving revision 1.64
diff -u -u -r1.64 except.c
--- win32/except.c	13 Jan 2003 20:44:13 -0000	1.64
+++ win32/except.c	26 Jan 2003 20:44:53 -0000
@@ -330,7 +330,7 @@
     startup.cb = sizeof(startup);
     startup.dwFlags = STARTF_USESHOWWINDOW;
     startup.wShowWindow = SW_SHOWNORMAL;
-    ret = CreateProcessA(NULL, cmdline, NULL, NULL, TRUE, 0, NULL, NULL, &startup, &info);
+    ret = CreateProcessA(NULL, cmdline, NULL, NULL, TRUE, CREATE_NEW_CONSOLE, NULL, NULL, &startup, &info);
 
     if (ret) WaitForSingleObject(hEvent, INFINITE);  /* wait for debugger to come up... */
     else ERR("Couldn't start debugger (%s) (%ld)\n"


More information about the wine-patches mailing list