Hi, It would be possible pre-to define a directive of compilation LAZARUS ({ $$DEFINE LAZARUS }) for the projects compiled since Lazarus like preset directive FPC ? that will allow to detect the use of Lazarus automatically. Regards Olivier