We have recently upgraded our Firefly system from version 1.10 to 2.65.
When i load a project written in Version 1.10 it prompts me to pass it through a converter to take it to 2.65 compatability.
I have done this but when i compile i get the following error...
Error Number = 414
Error Description = ")" expected
FF_nResult = FORM1_WM_CREATE(hWndForm,@FF_UserData)
FORM=FORM1
CONTROL=GENERAL
MESSAGE=OTHER_CODE
This code is inaccessable to me. Please help
Hello,
in the version 2.1 help file there is a new feature:
- Added ability to pass a long value to a Form being shown as modal. The value ("UserData") can be accessed in the WM_CREATE message
Hope this helps.
Marc
Yes, you need to scan through your code and modify the WM_CREATE message functions. The new function headers should 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
Notice the new ByVal UserData As Long