You could split the value, using masking and shifting. Or, you can just allocate a 64 bit integer on the heap; pass the pointer to your main window; and release the memory in your message handler.

Viggy