get directory my game is in?
I cant figure it out, I just need to know what directory the executable is Im using devcpp/mingw under windows.
Quote:Original post by JDnot if your current working path changes subsequent to Win32 API usage
GetCurrentDirectory() also works. It'll return the absolute path to your exe.
such as common file open/save dialogs.
Quote:Original post by silvermace
not if your current working path changes subsequent to Win32 API usage
such as common file open/save dialogs.
Or if you have a shortcut to the exe file that has the "start in" entry set to another directory than the exe is in.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement