Just another Perl shrine | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
I didn't look in detail (I suspect the relevant details could be buried quite deep), but it looks likely to be a bug in Win32::API to me. Even if not a bug in Win32::API, it looks like an uninitialized four-byte value is having only some of its bytes overwritten. So why not just work around it and pull out only the byte you care about?
Though, the return values you show actually show the lowest two bytes being consistently 0x7298, which seems rather unlikely.
...So it could easily be neither of the things I guessed. Is 0x98 (152) the value you are expecting to get? - tye In reply to Re^3: How to use 'unsigned char' C data type with Win32::API (&255)
by tye
|
|