I have a Delphi class that has to call some functions
in an external DLL !! . . .
It works fine when it's not in a class !!
But it can't compile when it's in a class
DLLNAME = 'DEng32.dll';
TDesEng = class(TComponent)
function APICreateSession() : longint; cdecl; external DLLNAME;
I get this errormessage
'Field definitions not allowed after mothods or properties'