[fpc-pascal] How to include Carbon.h?

BlueCat GHF03464 at nifty.ne.jp
Thu Apr 19 11:01:41 CEST 2007

Hello, Pascal folks,

I'm using FPC 2.0.4 on MacOSX 1.4.9 PPC and trying to write a Pascal library
that is externally called from REALbasic (Rb).  But Rb needs Carbon.h header
included in dylibs which are called by Rb programs.

In C, it's easy:

#include "Carbon/Carbon.h"

Unfortunately, I am not familier to C, so that, I want to write the library
in FPC.  How it can be achieved in FPC? 
Could you give me some suggestions?

I have used CarbonEventsCore.ppu, but found not sufficient enough.  The
application still crashes in certain circumstances.
View this message in context: http://www.nabble.com/How-to-include-Carbon.h--tf3605888.html#a10074354
Sent from the Free Pascal - General mailing list archive at Nabble.com.

More information about the fpc-pascal mailing list