Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- SetFilePointer(hFile, 3476, NULL, FILE_BEGIN);
- // ReadFile(hFile, bufor, 2, &dwRead, NULL);
- ReadFile(hFile, &tresc, 2, &dwRead, NULL);
- //tresc[dwSize] = 0;
- char dupa[100];
- char ileKurwa[3];
- // wsprintf(ileKurwa, "%02X", bufor[1]);
- // strcat(dupa, ileKurwa);
- // wsprintf(ileKurwa, "%02X", bufor[0]);
- // strcat(dupa, ileKurwa);
- // wsprintf(ileKurwa, "%02X", tresc);
- tresc = (tresc >> 8) | ((tresc & 0xFF) << 8);
- wsprintf(dupa, "%04d", tresc);
- //SetWindowText(hBufor, kurwa);
- SetWindowText(hBufor, dupa);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement