MS RFC 28: Redesign of LOG/DEBUG output mechanisms

Daniel Morissette dmorissette at MAPGEARS.COM
Fri Jun 15 14:24:36 EDT 2007


Tamas Szekeres wrote:
> 
> You should simply call the non unicode variant, like:
> 
> #ifdef WIN32
> #include <windows.h>
> 
> void writeDebug( const char * pszMessage)
> {
>    OutputDebugStringA(pszMessage);
> }
> #endif
> 
> For more info http://msdn2.microsoft.com/en-us/library/aa363362.aspx
> The "windowsdebug" option would be fine.
> 

Cool. That's simple enough that even I could do it.  ;)

I have added a note about this new option to the RFC, and created a bug 
for it too:
http://trac.osgeo.org/mapserver/ticket/2124

I had also added a clarification about the global file handle not being 
shared across threads earlier today.

http://mapserver.gis.umn.edu/development/rfc/ms-rfc-28

Daniel
-- 
Daniel Morissette
http://www.mapgears.com/



More information about the mapserver-dev mailing list