Ambiera ForumDiscussions, Help and Support. |
|
|
|||||
|
Firstly, thanks for irrXML. It's been great thus far with documentation that actually helps and examples that actually make sense. Pretty sweet change of pace. My issue right now is when creating the reader on a non-existing file. While it might be safe to assume that they won't enter the file name wrong, I'd rather not take that chance. Here's what I'm doing:
On a good run:
On what should be a bad run:
Looking at irrXML.cpp, it seems like there's no particular way to catch to return that something went wrong (from the constructor at least) but the API says it should return 0 on a failure. Do I need to check the files existence myself? Thanks in advance! |
||||
|
Yes, that's a small bug in irrXML, it doesn't check if the file exists unfortunately, so you would have to do it yourself. |
|