SysObject() and migration to X#
Posted: Mon Apr 12, 2021 4:22 am
Hello,
I have looked at a VO application that a customer would like to migrate to X#.
This application makes massive use of the SysObject() call, in code pieces like this:
How could this call be replaced?
The X# compiler gives me the error
Thank you very much!
Wolfgang
I have looked at a VO application that a customer would like to migrate to X#.
This application makes massive use of the SysObject() call, in code pieces like this:
Code: Select all
cCesDir := SysObject():CesDir +Left( cTmp, 6 )
if SysObject():NoFigli( self )
SysObject():FiltroWrite( nil,1)
SysObject():FiltroRecMove()
self:EndWindow()
endif
The X# compiler gives me the error
Code: Select all
error XS0619: 'XSharp.VO.Functions.SysObject(params XSharp.__Usual[])' is obsolete: ''SysObject()' is not supported'
Wolfgang