S
Stefan Drissen
Guest
Just a small nuance on the MemptrToByteArray method. With 11.7 get-pointer-value will often return a 64 bit integer (see knowledgebase.progress.com/.../Windows-API-call-fails-with-error-13712-in-11-7-64-bit) . For some reason the get-pointer-value function is fooling System.IntPtr to think it is going to be 32-bit (at compile time) resulting in a too large for int32 error at run-time. Introducing an intermediate int64 to store the value of get-pointer-value resolves this.
Continue reading...
Continue reading...