ncamargot - 2019-08-30


I'm currently working on a project where I need to use the address of a CFC declared as a program (PRG), according to the API of Pointer, it should be possible to obtain the address of a program, however I have not been able to find the appropriate syntax.

When I try something like:

ptrMyProgram: POINTER TO MyProgram;

I get the following error:

'Myprogram' is of type PROGRAM and cannot be instantiated

Does someone know how can I define a pointer of a program?