Dear Shabbir,

thanks for the reply! well the problem i am facing is as follows (written in a SDI application):
Code:
char buf    [MAX_PATH+2];
GetModuleFileName(NULL,(LPWCH)buf,MAX_PATH);
std::stringstream folder;
folder << buf;
this code above won't work, as LPWCH is a pointer to a unicode sign, and buf is a 'normal' character. so i got the advice to change the project to be ANSI mode. but as it seems it should be ASCII, like you said it in your post. so how can i change it to be ASCII?

THANKS!
F.R.