To get around the limitations of _OFFSET, which are imposed by QB64 only, not in C/C++, you may simply write a small wrapper function in the C/C++ header, which takes an _OFFSET and returns it back as _INTEGER64. Once again _INTEGER64 fits for 32-bit pointers as well.hello RhoSigma
I recommend you downloading my Libraries Collection, and closely analyze the content of the QB-StdLibs subfolder, especially the qbstdarg.h/.bi/.bm files, were i extensively had to deal with the 32/64-bits problem.
what can I say but thanks, you made my day :)
will tackle this later in the day.