12-14-2022, 08:06 PM
Anything numeric should always be passed as BYVAL. I don't pass user-defined types to an external library without using _OFFSET. Arrays can be passed as _OFFSET as well.
Ask me about Windows API and maybe some Linux stuff