ShellExecuteEx stops working
- Posted by sergelli Oct 26, 2013
- 1537 views
I have a "edit.exe" that has the following lines
ShowWindow (MAIN, SW_MINIMIZE) -- hiding editor err_msg = ShellExecuteEx ("open","c:\\euphoria\\bin\\exwc.exe c:\\euPgm\\new.EXW", 0, 0, SW_NORMAL, 0) ShowWindow (MAIN, SW_RESTORE) -- restores editor
The "new.EXW" program runs normally, but when closing it, there are occasions that "edit.exe" abort, without running the line showWndow(...).
I can not check the value of "err_msg" because "edit.exe" ends before at this point.
This problem occurs with Eu311
With EU4 and "euiw.exe",this problem does not occur, but would not want to use it
Does anyone have any idea what might be happening?

