Dear User,
Thanks for replying.
As of now, we dont a readily available sample for this requirement. However, you can try the below suggestions that may help to remove this error.
*Pass /MAP to the linker (e.g. in Visual Studio 2017: Project --> Properties --> Linker --> Debugging --> "Generate Map File" set to "YES") then provide this MAP file to the Envelope engine under App-On-Chip section.
* Go to Properties --> C/C++ --> Optimization and select "Full optimization" or "Maximize Speed" before recompiling the DLL.
If the issue still appears then please share this with our support team using Gemalto Support portal https://supportportal.gemalto.com/csm/ as it might need detailed investigation.
Thanks & Regards,
Parth Kaushik