Frank D. Engel, Jr. wrote:
If GPC is basically compatable with the C objects used by OS X (and since OS X is built with GCC, it should be, correct?), you should be able to access the native Quartz library, I would suspect.
Unfortunately, Quartz is NeXT Step technology, based on Objective-C, not C. To use it, you would have to write "flattened C" interfaces in C and then link them with the Pascal code. See the recent mailing list item "can I use C++ units in GPC projects?". In the long run, I think, it will be inevitable that (somehow) GPC interfaces directly with C++ and Objective-C objects (and not only on Mac OS X).
OpenGL on the other hand is C and should present no problem. I don't know if there are GPC "headers" for OpenGL (and if anybody is interested).
Is there, by the way a general tool to translate C headers to GPC ? Jonas Maebe, of the Free Pascal project, pointed me to h2pas.
My priorities for the moment are: Apple Project Builder integration, Carbon Pascal Interfaces, some compiler and compatibility issues and maybe CodeWarrior integration. I will be quite happy if that has been done.
Regards,
Adriaan van Os