ifstream and IGUIOpenFileDialog

You discovered a bug in the engine, and you are sure that it is not a problem of your code? Just post it in here. Please read the bug posting guidelines first.
Post Reply
csg
Posts: 14
Joined: Sun Sep 17, 2006 6:45 pm

ifstream and IGUIOpenFileDialog

Post by csg »

Hello !

In my Programm i use ifstreams for file open and write functions.
But after i use a FileOpenDialog, istreams dont work anymore.
I think this is a bug in Irrlicht, i tried much to find the error in my code but it seems to be irrlichts mistake.
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

Probabilities are much more likely that you're not finding the files anymore due to the changed active directory. The file open dialog has the (not really good) behavior to change the current directory. Thus, you cannot access relative paths anymore as before.
csg
Posts: 14
Joined: Sun Sep 17, 2006 6:45 pm

Post by csg »

ah, thanks. By knowing this i can fix the problem :D

btw: Oldenburg ist ne schöne stadt ;)
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

:D In der Tat :!:
Post Reply