Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Waiting for the hidden program to exit
#4
@kevin

Thank you very much for your reply, I will test the effect right away.

The code waiting for the program, the test is successful.

I have a small problem,

I click on the title of the QM dialog on the taskbar, it can't be minimized, always displayed on the desktop, why?



Macro Ghost Backup
Code:
Copy      Help
str dd=
;BEGIN DIALOG
;0 "" 0x90C80AC8 0x8 0 0 346 242 "Ghost Backup"
;3 Button 0x54032000 0x0 116 92 124 42 "Backup"
;END DIALOG
;DIALOG EDITOR: "" 0x2040700 "*" "" "" ""

if(!ShowDialog(dd &sub.DlgProc 0)) ret


#sub DlgProc
function# hDlg message wParam lParam

sel message
,case WM_INITDIALOG
,case WM_DESTROY
,case WM_COMMAND goto messages2
ret
;messages2
sel wParam
,case IDOK
,case IDCANCEL
,case 3 ;;Backup
,opt waitmsg 1
,int exitCode1=run("$qm$\Ghost64.exe" "-clone,mode=pdump,src=1:1,dst=E:\Back.GHO -z9 -sure" "" "" 16|0x400); err
,mes "Backup is ok"
ret 1


Messages In This Thread
Waiting for the hidden program to exit - by win - 08-19-2018, 04:38 AM
RE: Waiting for the hidden program to exit - by win - 08-19-2018, 08:34 PM

Forum Jump:


Users browsing this thread: 3 Guest(s)