10-13-2017, 02:04 PM
On top of the above question. I've tried to compile the below into an exe but I get the error "Error in <open ":24: /611">BeepBot
lgProc: <open ":27:">Software is not function. Cannot make exe: failed to compile."
Please see below for code - please note that "software","links" and "macros" are all Menu's - can you not add a menu to a dialog and compile it?
Thanks in advance
Function BeepBot
lgProc: <open ":27:">Software is not function. Cannot make exe: failed to compile."Please see below for code - please note that "software","links" and "macros" are all Menu's - can you not add a menu to a dialog and compile it?
Thanks in advance
Function BeepBot
str dd=
;BEGIN DIALOG
;0 "" 0x90C80AC8 0x0 0 0 192 14 "BeepBot"
;3 Button 0x54032000 0x0 0 0 48 14 "Contracts"
;4 Button 0x54032000 0x0 48 0 48 14 "Software"
;5 Button 0x54032000 0x0 96 0 48 14 "Links"
;6 Button 0x54032000 0x0 144 0 48 14 "Macros"
;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
,case WM_ACTIVATE
ret
;messages2
sel wParam
,case IDOK
,case IDCANCEL
,case 3
,Contracts
,case 4
,mac "Software"
,case 5
,mac "Links"
,case 6
,mac "Macros"
ret 1