error before install xsharp 26a1Public
Posted: Wed Nov 11, 2020 7:41 pm
Hello Guys
I came back to continue evaluating XSharp from FoxPro user point of view.
I installed the last public version (the installer XSharpSetup26a1Public.zip)
When i try to compile my old tests integrating WinForm classes with XSharp I have the compile error below
Error XS1628 Cannot use ref, out, or in parameter 'message' inside an anonymous method, lambda expression, query expression, or local function
The code is inside the below test class. ¿Are there any sintax form change?
PUBLIC CLASS OFORM INHERIT System.Windows.Forms.Form
...
protected sealed method WndProc(message ref Message ) as void
super.WndProc(@message)
if message:Msg = 0x84 and message:Result = 0x1
message:Result:= 0x2
endif
end method
...
END CLASS
Project settings in attachmment
best regards
Juan
I came back to continue evaluating XSharp from FoxPro user point of view.
I installed the last public version (the installer XSharpSetup26a1Public.zip)
When i try to compile my old tests integrating WinForm classes with XSharp I have the compile error below
Error XS1628 Cannot use ref, out, or in parameter 'message' inside an anonymous method, lambda expression, query expression, or local function
The code is inside the below test class. ¿Are there any sintax form change?
PUBLIC CLASS OFORM INHERIT System.Windows.Forms.Form
...
protected sealed method WndProc(message ref Message ) as void
super.WndProc(@message)
if message:Msg = 0x84 and message:Result = 0x1
message:Result:= 0x2
endif
end method
...
END CLASS
Project settings in attachmment
best regards
Juan