Sundry Posted August 12, 2009 Posted August 12, 2009 I have a console aplication and a wana run on some gui child window Func SomeGUI() Local $hGUI, $iLabel1, $iLabel2, $iedit, $isend, $imemo Local $rpath="some.exe) $hGUI = GUICreate("First instance", 500, 400, -1, -1, $WS_SIZEBOX) $iMemo = GUICtrlCreateEdit(Run($rpath), 0, 62, _WinAPI_GetClientWidth($hGUI), 400) GUICtrlSetFont($iMemo, 9, 400, 0, "Courier New") GUISetState() EndFunc if i use only Run($rpath,...) it give me no error (Result PID) but i dont see no my console run , i try with other commands like runas, shellexecute... ,run (Cmd.exe & my console), autoit example: Run(@ComSpec & " /c " & 'commandName', "", @SW_maximize) all have same execution it run my program (that i belive because i dont have error)but extit my program . Don't wana response like try to compile it, or your programs is bad (Work fine on windows console) Maybe someone can help me. Tnx Sundry
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now