M
Mohit
Hi all,
I wish to make a piece of code Unicode compatible. The code has calls
like
TCHAR filename[255];
ifstream stm;
stm.open(filename, mode);
I could not find any way of providing a unicode filename in the open
method of stm. I wish to do a single byte i/o on a file whose filename
is to be given in unicode. Is it possible at all? I cannot use the
constructor for creating the ifstream otherwise I could have used
ifstream stm(_wfopen(filename, mode)); //A workaround in vc7 i guess
Any solutions to my problem?
Thanks.
Mohit
I wish to make a piece of code Unicode compatible. The code has calls
like
TCHAR filename[255];
ifstream stm;
stm.open(filename, mode);
I could not find any way of providing a unicode filename in the open
method of stm. I wish to do a single byte i/o on a file whose filename
is to be given in unicode. Is it possible at all? I cannot use the
constructor for creating the ifstream otherwise I could have used
ifstream stm(_wfopen(filename, mode)); //A workaround in vc7 i guess
Any solutions to my problem?
Thanks.
Mohit