How can I get an application to write debug text to the Event Log window in the Delphi IDE (Borland Developer Studio 2006)?
How does one change the color of the text?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
OutputDebugString(‘Hello,World’);
I think you may need to add Windows to your ‘uses’ list. Not 100% sure on that…
The text colour can’t be changed as far as I know: It’s a feature of the Delphi IDE that it adds additional messages into that window for thread start/stop, DLL load/unload, with their own specific colour.