Try to compile this:
Yes, forget the dialog new, it's only for compiling in this case.
In this case i get the error:
"invalid register variable"
Now, enable the a&
Now it compiles fine!
I certainly don't hope that i need specific calls like registervariable or sort of..(!)
[This message has been edited by E B Knoppert (edited May 13, 2000).]
Yes, forget the dialog new, it's only for compiling in this case.
In this case i get the error:
"invalid register variable"
Now, enable the a&
Now it compiles fine!
I certainly don't hope that i need specific calls like registervariable or sort of..(!)
Code:
CallBack Function Form1() As Long End Function Function PBMain() Dim hDlg As Long ' Dim a& Dim Result As Long DIALOG SHOW MODAL hDlg, CALL Form1 TO Result Msgbox Str$( Result ) End Function
[This message has been edited by E B Knoppert (edited May 13, 2000).]
Comment