Prototype:
myFunction( ULONG , *ULONG ),PASCAL
Variables
myArray ULONG, DIM(30) myStuff ULONG
Code:
... myFunction(myStuff, myArray) ...
Error:
There is no suitable prototype - C: ...
Is something wrong with the prototype itself or am I passing the variable incorrectly?
For more information, the relevant function is glSelectBuffer (GLsizei, * GLuint), PASCAL
Where GLSizei is equated to ULONG and GLuint is equated to ULONG.
Is equalization likely to break the system? I would not think so, because so far there have been no other problems that have adapted other functions for compatibility with Clarion, but this, in particular, has been extremely difficult. The function searches for an array of user-defined size to use as a buffer to store the selection data. I thought it would be simple enough to create a buffer (see: myArray ULONG, DIM (30)), and then just pass the variable as it should pass the address of the array, but so far this has only led to the compilation error mentioned above .
Any help would be greatly appreciated.
source share