currently when I want to load resources like images etc.. in my application (VS10) I have to give it a path like this:
wstring sFilename = L"../../Editor/Frame/Cursor.png";
Now I've designed my resource loader so that it will append the "../../Editor/"-part. But still, this will only work when the directory is namend "editor". How do I get the real name of the directory the application is in (or, in that case, the upper directory because the app will be in "Editor/Debug"? Its not a big deal but it has bugged me for a while. Any idea?