02-25-2012, 12:51 AM
If I have an EXE compiled from QM and I wish to restart it, what is the best way to go about doing that?
Thanks,
Jim
Thanks,
Jim
Restarting EXE
|
02-25-2012, 12:51 AM
If I have an EXE compiled from QM and I wish to restart it, what is the best way to go about doing that?
Thanks, Jim
02-25-2012, 05:30 AM
08-28-2014, 04:11 PM
Is it also possible to use this when an EXE is created from a function?
The problem is when I use the code in the example below, the EXE is not shutdown while another instance is loaded so I end up with 2 dialogs. The dialog shows the contents of a textfile, it is one line and it contains the line: "TEST 1" 1) I start the below compiled EXE, and dialog shows "TEST 1" 2) I re-edit the textfile (I now put "TEST 2" in the textfile) 3) then I press the 'reboot' button and I end up with 2 dialogs one showing "TEST 1" and the other dialog "TEST 2" Function restart_exe_dlg \Dialog_Editor Function restart_exe_StaticText function int'hDlg Function restart_exe_RebootButton
08-28-2014, 04:27 PM
To close dialog from dialog procedure, can be used clo hDlg or DT_Cancel hDlg.
08-28-2014, 04:33 PM
Thank you!
@r0n
Hello, I have encountered the same problem, but I don't know where to put the close code . Can you post the code for the dialog? ![]() thanks
04-10-2019, 12:51 AM
I have already understood that the test in QM is invalid, try to generate exe,
![]() the following is the complete code Function restart_exe_dlg \Dialog_Editor |
« Next Oldest | Next Newest »
|