Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Error when exiting QM generated .exe
#2
Empirically, I found that the problem above is due to statement :


if(!ShowDialog("dialog_with_progres_Clepsy" &dialog_with_progres_Clepsy 0)) ret

which it calls the following function:


Function dialog_with_progres_Clepsy
Code:
Copy      Help
;\Dialog_Editor
function# hDlg message wParam lParam
if(hDlg) goto messages

def PBM_SETRANGE (WM_USER+1)
def PBM_SETPOS (WM_USER+2)
def PBM_DELTAPOS (WM_USER+3)

;BEGIN DIALOG
;0 "" 0x90000844 0x88 0 0 44 15 ""
;3 msctls_progress32 0x54000008 0x4 2 2 40 12 ""
;END DIALOG
;DIALOG EDITOR: "" 0x2040308 "" "" "" ""

ret
;messages
;you can change these values
int step=1
int timerperiod=250 ;;should be >=50 (in msec)

int hpb=id(3 hDlg)
str s

sel message
,case WM_INITDIALOG
,DT_Init(hDlg lParam)

,SetTimer hDlg 1 timerperiod 0
,ret 1
,
,case WM_TIMER
,SendMessage hpb PBM_SETPOS 0 0
,
,case WM_DESTROY DT_DeleteData(hDlg)
,case WM_COMMAND goto messages2
ret
;messages2
sel wParam
,case IDOK DT_Ok hDlg
,case IDCANCEL DT_Cancel hDlg
ret 1

I would appreciate any comments and/or advice.


Messages In This Thread
Error when exiting QM generated .exe - by ssimop - 08-12-2018, 06:34 AM
RE: Error when exiting QM generated .exe - by ssimop - 08-12-2018, 10:01 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)