Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
CreateFile library error
#21
(06-08-2023, 03:00 AM)eoredson Wrote: Windows 64-bit applications:

Name/Length/QB64
----------------------
WORD/2 bytes/Integer
DWORD/4 bytes/Long or _offset
HANDLE/8 bytes/_Integer64 or _offset
HFILE/4 bytes/Long

https://www.ibm.com/docs/en/ibm-mq/7.5?t...data-types
Notice that on the page you specified, it lists POINTER as 4 bytes for 32-bit applications and 8-bytes for 64-bit applications.   

In QB64 _OFFSET changes size based on the bits of the EXE which you create.  In a 32-bit EXE, _OFFSET is a 4 bytes INTEGER.  In a 64-bit EXE, _OFFSET is an 8-byte INTEGER.
Reply




Users browsing this thread: 1 Guest(s)