[Lazarus] My two wishes for the Message window of the IDE

Juha Manninen juha.manninen at phnet.fi
Sun Feb 28 15:44:50 CET 2010


Hi,

> Same as OutputDebugString() works in delphi I suppose.
> Yes, I miss this too.

I never used OutputDebugString() in Delphi but I guess the main challenge is 
to detect if Lazarus IDE is present while the program is running. The rest 
should be easy.

procedure OutputDebugString(Msg: string);
begin
  if <IDE_Is_Present> then
    IDEMsgIntf.IDEMessagesWindow.AddMsg(Msg,'',-1);
end;


So, how to test it?


Regards,
Juha




More information about the Lazarus mailing list