Naf3tS / Publications
Forum
INVALID_POINTER with virtual function, derived class, returning struct
I found a problem with MT5 build 1150. When passing a pointer to a virtual function in a derived class that returns a struct, CheckPointer returns INVALID_POINTER even thought the pointer is valid (using the pointer results in an access violation). I've attached the file to reproduce the issue