Prototype:
myFunction( ULONG , *ULONG ),PASCAL
Variables:
myArray ULONG, DIM(30)
myStuff ULONG
Code:
...
myFunction(myStuff, myArray)
...
Error:
No matching prototype available - C:...
Is there something wrong with the prototype itself or am I passing the variable wrong?
For more specifics, the actual function in question is glSelectBuffer( GLsizei , *GLuint ),PASCAL
Where GLSizei is equated to ULONG and GLuint is equated to ULONG.
Is it possible the equates are causing a breakdown in the system? I wouldn't think so because thus far there have been no other issues adapting other functions to be compatible with Clarion but this one in particular has been exceedingly troublesome. The function is looking for an array of user defined size to use as a buffer to hold selection data. I thought it would be simple enough to create a buffer (see: myArray ULONG, DIM(30) ) and then just pass the variable since it should pass the address of the array but so far this has only resulted in the compile error listed above.
Any help would be greatly appreciated.