I have a problem with my custom registeruserex -dialog box. I included it in to my project and WaitOnDialog() function always return -1 (DLG_ERR). Can somebody help me with this?
szDlg = "SdCustomRegisterUserEx";
//define a custom dialog box
if (EzDefineDialog( szDlg, ISUSER, szDlg, NULL ) = DLG_ERR) then
return -1;
endif;
//display a custom dialog box.
nId = WaitOnDialog( szDlg );
I also tried this way:
if (EzDefineDialog( szDlg, ISUSER, "", nSdDialog ) = DLG_ERR) then
return -1;
endif;
How can I trace the error?
Thanks,
Paivi