DirectPlay should convert dwReserved1/2 registry keys from
strings to DWORDs
Joris Huizer
joris_huizer at yahoo.com
Sat Mar 3 06:56:18 CST 2007
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.winehq.org/pipermail/wine-devel/attachments/20070303/9f6c9f0a/attachment.html
More information about the wine-devel
mailing list