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?
Thanks.
BR
Nicolas
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello,
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?
Thanks.
BR
Nicolas