Here is a quick testcase to show the problem.
Code: Select all
#include <irrlicht.h>
using namespace irr;
#ifdef _MSC_VER
# pragma comment(lib, "Irrlicht.lib")
#endif
int main()
{
IrrlichtDevice* device = createDevice(video::EDT_NULL);
if (device == 0)
return 1; // could not create selected driver.
irr::ILogger* logger = device->getLogger();
logger->setLogLevel(irr::ELL_INFORMATION);
logger->log("code %is %not %safe%");
device->drop();
return 0;
}
Code: Select all
void Printer::print(const c8* message)
{
#if !defined (_WIN32_WCE )
OutputDebugString(message);
OutputDebugString("\n");
printf("%s\n", message);
#endif
}