This topic is now archived and is closed to further replies.


evil OPENFILE name and how to get the app working dir

Recommended Posts

Hi people, I''m using GetOpenFile() to get the path to a problem so far... then I want to load the file....and *bang*! The file contains relative loading the paths without chainging to exe''s dir won''t work. This happens ''cause GetOpenFile() sets the current working directory to the dir the last file was choosen. Does anyone know a function to get back to the exe''s path??? Hope you know what I mean...I''m a native german =) Bye, NoMoRe@

Share this post

Link to post
Share on other sites