Ecere Software
/
sdk
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e3af8c4
)
ecere/gui/Win32Interface: Fixed issue with make clean failing when IDE is launched...
author
Jerome St-Louis
<jerome@ecere.com>
Wed, 24 Oct 2012 08:05:13 +0000
(
04:05
-0400)
committer
Jerome St-Louis
<jerome@ecere.com>
Wed, 24 Oct 2012 08:05:13 +0000
(
04:05
-0400)
- Now attaching parent process console for GUI applications
ecere/src/gui/drivers/Win32Interface.ec
patch
|
blob
|
history
diff --git
a/ecere/src/gui/drivers/Win32Interface.ec
b/ecere/src/gui/drivers/Win32Interface.ec
index
a97547b
..
5d6429c
100644
(file)
--- a/
ecere/src/gui/drivers/Win32Interface.ec
+++ b/
ecere/src/gui/drivers/Win32Interface.ec
@@
-7,7
+7,7
@@
import "instance"
#if defined(__WIN32__)
#define WINVER 0x0500
-#define _WIN32_WINNT 0x050
0
+#define _WIN32_WINNT 0x050
1
#undef JOY_BUTTON1
#undef JOY_BUTTON2
@@
-19,6
+19,7
@@
import "instance"
#define byte _byte
#define int64 _int64
#include <windows.h>
+#include <wincon.h>
#include <shellapi.h>
@@
-1149,6
+1150,7
@@
class Win32Interface : Interface
null,
className
};
+ AttachConsole(-1);
wcl.hInstance = hInstance = GetModuleHandle(null);
RegisterClass(&wcl);