My log4net is logging to the visual studio output windows but what code can I use in the C++ win32 code to do the same as I need to debug the C++ and can't seem to step through it at all and logging would be useful in production as well anyways. I added
wprintf(L"Registering hook handler\n");
but that doesn't seem to work. It has been years since I have done C++ as well, let alone win32 C++.
OutputDebugString
; see stackoverflow.com/questions/1333527/… . – Gareth McCaughan