Hi, I recently downloaded TinyXML and I was pleased it would compile without any problems, thanks for that :-)
Anyway, these are the exact steps that lead to a crashing test app. I am wondering if it is a problem with my environment or not:
1) Downloaded latest TinyXML
2) Opened the project file
3) Selected Tiny XML builds in "Batch Build", all but STL
so I selected normal Debug, Release for tinyxml and the sample
4) I ran the sample, console window opens, but somewhere when it's printing it crashes with a XP notification (e.g. the "Don't send message")
I am running: Win XP Home, VS7.NET
Thanks if someone can shine any light on this.
- Jorgen
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
It crashes in the UTF-8 tests at this line:
XmlTest( "UTF-8: Russian value.", correctValue, element->Attribute( "value" ), true );
It's the 'element->Attribute( "value" )' call that faults.
I'm running 2.3.2 on XP Pro SP2 and compiling with VC6. All versions (debug, release, STL, noSTL) crash. Oddly, if I debug from inside the IDE, it does not crash, but executing from outside the IDE always crashes.
Am I missing something or is this a known problem? Any suggestions?
Thanks.
Jerry
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi, I recently downloaded TinyXML and I was pleased it would compile without any problems, thanks for that :-)
Anyway, these are the exact steps that lead to a crashing test app. I am wondering if it is a problem with my environment or not:
1) Downloaded latest TinyXML
2) Opened the project file
3) Selected Tiny XML builds in "Batch Build", all but STL
so I selected normal Debug, Release for tinyxml and the sample
4) I ran the sample, console window opens, but somewhere when it's printing it crashes with a XP notification (e.g. the "Don't send message")
I am running: Win XP Home, VS7.NET
Thanks if someone can shine any light on this.
- Jorgen
Same problem here.
It crashes in the UTF-8 tests at this line:
XmlTest( "UTF-8: Russian value.", correctValue, element->Attribute( "value" ), true );
It's the 'element->Attribute( "value" )' call that faults.
I'm running 2.3.2 on XP Pro SP2 and compiling with VC6. All versions (debug, release, STL, noSTL) crash. Oddly, if I debug from inside the IDE, it does not crash, but executing from outside the IDE always crashes.
Am I missing something or is this a known problem? Any suggestions?
Thanks.
Jerry
I'll look at this within the next 2 weeks. That's very very strange.
thanks,
lee
Nice info! Thanks both - the running it outside of the IDE was the critical point. I get the crash as well in VC 7.1. I'm looking into it now.
lee
Ack. Trivial error, oddly expressed. The test program isn't checking error code returns from loading a file.
When running from the command line, the paths to the XML file are different. If you are in the "tinyxml" directory, the following will work fine:
.\tinyXmlTest___Win32_Debug\tinyXmlTest.exe
I'll change the test program to print warnings that files weren't found, rather than crash. Thanks again!
lee