Re: [AD] sys_directx_trace_handler

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


yeah, so it was kept so as to send formatted string messages to the debugger, perhaps...

On 4/27/05, Elias Pschernig < elias@xxxxxxxxxx> wrote:
On Wed, 2005-04-27 at 21:09 +0530, guilt wrote:
> http://msdn.microsoft.com/library/default.asp?url="">
>
> ^^ check this out
>

It says:

"If the application has no debugger, the system debugger displays the
string. If the application has no debugger and the system debugger is
not active, OutputDebugString does nothing."

The docs for al_trace:

"Outputs a debugging trace message, using a printf() format string given
in ASCII. If you have installed a custom trace handler it uses that, or
if the environment variable ALLEGRO_TRACE is set it writes into the file
specified by the environment, otherwise it writes the message to
"allegro.log" in the current directory. You will usually want to use the
TRACE() macro instead of calling this function directly."

So clearly, the former can't be used for the latter.. so again, any
reason why we should keep it? Or anyone remembers why it was added?

--
Elias Pschernig

-------------------------------------------------------
SF.Net email is sponsored by: Tell us your software development plans!
Take this survey and enter to win a one-year sub to SourceForge.net
Plus IDC's 2005 look-ahead and a copy of this survey
Click here to start!  http://www.idcswdc.com/cgi-bin/survey?id=105hix
--
https://lists.sourceforge.net/lists/listinfo/alleg-developers



--
Karthik
http://guilt.bafsoft.net

Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/