#ifdef MSW ! char *home; GetEnvironmentVariable("USERPROFILE", home, 255); strcat(home,"/My Documents"); --- 361,365 ---- #endif #ifdef MSW ! char home[256]; GetEnvironmentVariable("USERPROFILE", home, 255); strcat(home,"/My Documents");
Hi Mathieu, please note that it's not "My Documents" on all machines. Here in Austria (and the german speaking part of the world) it's "Eigene Dateien". As far as i remember there's a special environment variable reflecting this folder.
best greetings, Thomas