if( i == 0 )
- memcpy( &lpSpData->dwReserved1, returnBuffer, sizeof(lpSpData->dwReserved1) );
+ sscanf(returnBuffer, "%x", &lpSpData->dwReserved1);
Couldnt you use:
strcpy(lpSpData->dwReserved1,returnBuffer);
Sorry for only replying now; Your solution is equivalent, except that it is looks more complicated
regards,
Joris
The fish are biting.
Get more visitors on your site using Yahoo! Search Marketing.