Hi, this is my first post here and i hope to get an answer
My question is i am reading the section names from an file Unfortunately these section name contains unicode chars so when i read them i just get ????
here's my code ...
TCHAR buffer[4096];
int Lsize = sizeof(buffer),length;
GetPrivateProfileSectionNames(buffer,Lsize,".//Test.txt");
TCHAR *Get = buffer;
while (*Get){
length = strlen(Get);
Get += length;
Get++;
}
↧