Archive for September, 1999

It isn’t (as far as I’m aware) documented anywhere, but it’s possible to get the absolute path of a file using a standard Macintosh “open file” dialog using the int GetFileDialog( char* ) function in Leonardo IDE 3.4.1. To use the function, it is necessary to #include the header <syscall.h>. If a file is not […]


It isn’t (as far as I’m aware) documented anywhere, but it’s possible to detect whether a program is being compiled using Leonardo IDE 3.4.1 by testing whether the LEONARDO pre-processor macro is defined; eg.


It isn’t (as far as I’m aware) documented anywhere, but it’s possible to detect whether a program is being compiled using Metrowerks CodeWarrior IDE 2.1 (Discover Programming Edition) by testing whether the __MWERKS__ pre-processor macro is defined; eg.