Jump to content
  • Advertisement


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


evil OPENFILE name and how to get the app working dir

This topic is 5983 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi people, I''m using GetOpenFile() to get the path to a file....no problem so far... then I want to load the file....and *bang*! The file contains relative paths...so 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

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!