Ambiera ForumDiscussions, Help and Support. |
|
|
|||||
|
Hi I've been using irrXML for ages now, and it works perfectly. But I found a strange problem which I cannot explain. In my XML file I have a path to a file on my system, I extract the "file" attribute to a string and use that to load the PNG, like this: file='..\\images\\myfile.png' - this does not work (the file is not found by the loading function). I know the path is 100% OK, I even checked it at a command prompt. The following line works OK (but I cannot use it, of course, as not everyone installs the game to the same directory). file='C:\\Projects\\TestProject\\images\\myfile.png' Why?? I hope someone can help! Thanks |
||||
|
Maybe your working directory isn't what you are expecting it to be? |
|