ShellExecuteEx stops working

new topic     » topic index » view thread      » older message » newer message

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?

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu