(The XML file exists, and is valid, as I've used it fine in other programs, but that doesn't really matter, since the same problem occurs if the file doesn't exist...)
Code: Select all
int main() {
IrrXMLReader *xml = createIrrXMLReader("c:\\projects\\PACNyx\\debug\\options.pnoptions");
delete xml;
return 0;
}
Code: Select all
Detected memory leaks!
Dumping objects ->
.\irrXML.cpp(86) : {151} client block at 0x003A6DF8, subtype 0, 16 bytes long.
Data: <X 7 : > 58 E6 37 10 E8 F6 3A 10 0C 02 00 00 01 CD CD CD
Object dump complete.
Detected memory leaks!
Dumping objects ->
.\irrXML.cpp(86) : {151} client block at 0x003A6DF8, subtype 0, 16 bytes long.
Data: <X 7 : > 58 E6 37 10 E8 F6 3A 10 0C 02 00 00 01 CD CD CD
Object dump complete.
The program '[0xAA8] PACNyxPlus.exe: Native' has exited with code 0 (0x0).
Code: Select all
IRRLICHT_API IrrXMLReader* IRRCALLCONV createIrrXMLReader(const char* filename)
{
return createIrrXMLReader(new CFileReadCallBack(filename));
}