fsw wrote: ↑Fri Apr 01, 2022 6:16 pm
I'm not quite sure about the long double, as I've seen it as 80 bit and 128 bit...
On Windows I found a size of 8 bytes for the long double, but it can't be right, can't it?
Please let me know if you find a mistake or think something is missing.
MS compiler always considers the "lond double" type to be "double".
Read the articles below.
The following techniques can be used for communication between 32-bit and 64-bit applications:
64-bit versions of Windows use 32-bit handles for interoperability. When sharing a handle between 32-bit and 64-bit applications, only the lower 32 bits are significant, so it is safe to truncate the handle (when passing it from 64-bit to 32-bit) or sign-extend the handle (when passing it from 32-bit to 64-bit). Handles that can be shared include handles to user objects such as windows (HWND), handles to GDI objects such as pens and brushes (HBRUSH and HPEN), and handles to named objects such as mutexes, semaphores, and file handles.
I am to provide the public with beneficial shocks.
Alfred Hitshock
hi fsw,
that text refers to interoperability but i think the actual sizes are 4 and 8, in visual studio sizeof(HANDLE) returns 4 on x86 and 8 in x64.
same with all handles that are pointers.
Justin wrote: ↑Sat Apr 02, 2022 10:22 am
hi fsw,
that text refers to interoperability but i think the actual sizes are 4 and 8, in visual studio sizeof(HANDLE) returns 4 on x86 and 8 in x64.
same with all handles that are pointers.
Thank you Justin.
List corrected.
I am to provide the public with beneficial shocks.
Alfred Hitshock