I'm have such static class procedure in my record:
TRec = record
class procedure Proc; stdcall; static;
end;
Now I need array of such class procedures in my record:
TRec2 = record
Procs: array of TClassProcStdcallStatic;
end;
This is possible and how to determine TClassProcStdcallStatic?
Define it like this:
type
TClassProcStdcallStatic = procedure; stdcall;
The static
keyword means that the method has no Self
pointer and is a single pointer function type. As opposed to of object
double pointer function types.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With