I am trying to encapsulate meaningful Cpp PISDK functions in a dll, in order to use them using a different language.
The following example works fine for me as a standalone, but fails if I put it inside the DLL (Everything in Cpp).
It crash with access violation on the line:
Do you have any idea about why, what is missing, or about the workaround?
Thank you for your help.