A handle is a pointer (void*). So it should be 64 bits in 64-bit Windows. But it wouldn't surprise me a bit (no pun) if Windows kept HANDLEs (as opposed to more generic pointers to places in memory) below 32 bits. If that's so then Sscanf() would just stuff it into the low 32 bits of a 64-bit field, and that should be OK.
I like to avoid as much RTL stuff as I can. I'll bet using swscanf() would increase a plugin's size by 10K or so (static linking).
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.