On 18 Dec 2002 at 4:25, Frank Heckenbach wrote:
[...]
AFAIK, there are GNU C interfaces? Which types do they use?
All sorts of typedefs and macros mapping various things to various other GNU things. It is easier for gcc, since they are dealing with interfaces designed for C programmers.
But once it's done in GCC, it can be strgaihtforwardly mapped to GPC (if you figure out the typedefs and macros, that is ;-).
Perhaps. The interfaces are done as a separate project (w32api) and not as part of the standard GCC, and it is all in C of course. But, yes, once one can see how the C interface has been implemented, it is just a "simple" case of converting "them" to Pascal (and there is a lot of "them" to be converted ...) if one can figure out what they are doing, AND there is a way to do it in Pascal. Some unions and structures are impossible to convert because there is no way to achieve the conversion in Pascal, and many macros are gobbledegook. Best regards, The Chief --------- Prof. Abimbola Olowofoyeku (The African Chief) Web: http://www.bigfoot.com/~african_chief/