My win32 compiler tool generates the report in a text file

General questions about using TextPad

Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard

Post Reply
lcdvasrm
Posts: 2
Joined: Fri May 16, 2008 2:08 pm

My win32 compiler tool generates the report in a text file

Post by lcdvasrm »

I would like to use textpad to analyse the text output of my Win32 Graphical application.

I write this Win32 API. So I may modify it if necessary.

This Win32 application generates booth its log output in a console window (created by a AllocConsole()) and a text file : warnings.txt

If I select my Win32 API with preferences>tools>Add, it happens that the box "Capture Output" is grey and not selectable.

Is it just because it is not a console api ?

Two solutions :

1) find a way for textpad to be able to load that warnings.txt text file in such a way that if you double click on a warning line it jumps to the right file/line

2) find a way for my api to be modified so that it behaves like a console application. Thats a win32 coding problem.
Notice that i am in a very specific case where I have already a console output + it seems that a win32 api can have only one stdout. I spend quite some on forums but found nowhere my exact situation.

or ?
Post Reply