FactoryX - 2018-01-15

Last suggestion is indeed the correct code. [in, out] in C++ almost always means you need a var for a reference but not when it's a pointer value! Note: The usual way when C/C++ hints to a pointer, is a parameter starting with pp (with some exceptions) starting with ppp is always a pointer value to be declared in Delphi and almost always when it points to an array.

 

Last edit: FactoryX 2019-12-24