/[Sims3RigEditor]/trunk/gr2lib_cpp/VSDebugOutput.cpp
ViewVC logotype

Annotation of /trunk/gr2lib_cpp/VSDebugOutput.cpp

Parent Directory Parent Directory | Revision Log Revision Log


Revision 10 - (hide annotations) (download)
Sat Jul 31 09:31:47 2010 UTC (10 years, 2 months ago) by william
File size: 262 byte(s)
added support to write to Visual Studio's Immediate window for debugging, just as thought is were a 'cout << "Message";'

1 william 10 #include "VSDebugOutput.h"
2     template<>
3     void VSDebugOutput<char>::OutputDebugString(const char *text)
4     {
5     ::OutputDebugStringA(text);
6     }
7    
8     template<>
9     void VSDebugOutput<wchar_t>::OutputDebugString(const wchar_t *text)
10     {
11     ::OutputDebugStringW(text);
12     }

  ViewVC Help
Powered by ViewVC 1.1.22