0

What does

while (c != sk.sz)
{
	newbuff[c] = strtol(&buff[c], NULL, 16);
	printf("%lx\n", newbuff[c]);
	c=c+3;
}

display?

Until you fix your read process into something like this instead of that convoluted mess, I'm done, too. Unless you can give me a good reason for code like that.

Edited by WaltP: n/a

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.