When compiling a program, I get an Error 414 and it tells me:
")" expected, Line 811, FF_nResult = FORM1_WM_CREATE (hWndForm, @FF_UserData)
reference:
===
Call FORM1_CreateControls(hWndForm)
'Create a Timer (if necessary) for a Statusbar.
'Create the Keyboard accelerator if necessary
'The form is being created, but not yet shown. Allow the user to process their
'commands prior to showing the Form's controls.
FF_nResult = FORM1_WM_CREATE (hWndForm, @FF_UserData)
If FF_nResult Then Function = FF_nResult: Exit Function
===
Note: This is received when compiling with JellyFish Pro because FireFly can't pin down the location of the error.
Anyhow, if I add a ")" immediately after hWndForm (and remove ", @FF_UserData)" then it works fine. I had looked prior and found that the function and the declares didn't appear to allow for a second param.
This used to work fine. I reinstalled on my new laptop, but I'm not sure if it's an error I'm making or something else.
-John
I expect that you installed the old version of FireFly prior to the change that implemented the second parameter in the WM_CREATE message ????
Create a new, blank Form and click on the WM_CREATE message in the code editor. Does it look like the following?
Function FORM1_WM_CREATE ( _
hWndForm As Dword, _ ' handle of Form
ByVal UserData As Long _ 'optional user defined Long value
) As Long
End Function