Calling convention of overriden methods
Posted: Mon Nov 18, 2024 2:31 pm
Hi,
I'm trying to target Vo as dialect, code is Vulcan.net for now
But I have two last errors I can't figure out :
and that's the code :
what am I missing ?
I'm trying to target Vo as dialect, code is Vulcan.net for now
But I have two last errors I can't figure out :
Code: Select all
Error XS9041 Override of virtual method 'SetFilter' in child class has STRICT calling convention but overridden method in parent class is CLIPPER. Locasyst.WebServices.Lib.XSharp Serveurs Definitions.prg 618
Code: Select all
PUBLIC METHOD SetFilter( cFiltre AS USUAL ) AS USUAL // AS STRING ) AS LOGIC
// Interception du filtre pour gérer le filtre FTS, "Contains" n'est pas trouvé par la MacroCompiler Vulcan
LOCAL lOk AS LOGIC
// LOCAL nHnd AS IntPtr
LOCAL pszFilter AS PSZ
IF SELF:IsAds .AND. cFiltre = "Contains( *, '" // Filtre FTS
// nHnd := SELF:Info( DBI_GET_ACE_TABLE_HANDLE2 ) // Handle ADS de la table
pszFilter := String2Psz( cFiltre )
AdsSetFilter( SELF:AdsHandle, pszFilter ) // nHnd
lOk := TRUE
ELSE
lOk := SUPER:SetFilter(cFiltre)
ENDIF
RETURN lOk