File System directory issues

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
thespecial1
Posts: 135
Joined: Thu Oct 30, 2008 11:56 am
Location: UK
Contact:

Post by thespecial1 »

Swarmer wrote:Actually I just found out a pretty weird but simple way to do it:

Code: Select all

	char path[MAX_PATH + 1];
    GetModuleFileNameA( NULL, path, MAX_PATH + 1 );
"path" gives the full path of the exe file.
Thanks for the suggestions.

have been looking for a way todo that for an age, good work ;0)
Post Reply