Hi,
I was hoping someone could help me find a 0 in a string.
I'm trying to read a drive's serial number and store it as a string.
GetVolumeInformation(szHD,(LPTSTR)szVolNameBuff,
255,&dwSerial, &dwMFL,&dwSysFlags,
(LPTSTR)szFileSys,255);
char serial [20]="";
ultoa (dwSerial,serial,16);
The only problem is, I know that the serial number starts with a 0 and the proggy isn't storing that first 0.
TIA