I have the following code in a (migrated) DLL:
Code: Select all
_dll function VpeGetVersion( ) as int pascal:vpes3271.VpeGetVersion
Code: Select all
class VpeInfo
method VpeGetVersion()
// _DLL function VpeGetVersion( ) as shortint pascal:vpes3260.VpeGetVersion
return VpeGetVersion()
end class
In X#, this code creates a StackOverFlow exception because the method calls itself in a loop instead of calling the function of the same name, but in another module.
The DLL is compiled in VO dialect.
Is there something I can do to change this behaviour other than to rewrite the entire interface to the DLL?
I cannot change the class because I use it in many VO applications.
Wolfgang