external dll call from a class

Could someone let me know how can I define the following from within a class.

PROCEDURE WinExec EXTERNAL "KERNEL32.DLL":
DEFINE INPUT PARAMETER prog_name AS CHARACTER.
DEFINE INPUT PARAMETER prog_style AS SHORT.
END.

Thanks
Joel
 

Marian EDU

Member
you can't... only methods are allowed in there but it's not the only place where we still need to decorate OO ABL with (persistent) procedures.
 
Top