ok i think i got further this time
the messagebox is showing the correct size but its setting the text as all wide charsCode:fseek(fal, 0, SEEK_END); pos = ftell(fal); fseek(fal, 0, SEEK_SET); fread(&ReadTxt , pos , 1 , fal); _stprintf(testt , _T("%d") , pos); SendMessage(hwndList , WM_SETTEXT , (WPARAM)sizeof(ReadTxt) , (WPARAM)ReadTxt); MessageBox(0 , testt , _T("test") , 0);



LinkBack URL
About LinkBacks



