I have a user function object used to open a web browser that causes a crash when deploying the project but only when the option to create machine code and a .dll library is selected. Deployment with Pcode as well as machine code without a .dll library will deploy without issue.
The cause seems to be tied to a call to GetContextService and the code works as expected in runtime:
GetContextService("inet",iinet_base) //comment out for successful deployment
if isvalid(iinet_base) then destroy iinet_base
Anyone have similar experiences or know of any workarounds?
I have attached files for duplication.
Problem Event Name: APPCRASH
Application Name: PB170.EXE
Application Version: 126.96.36.1998
Application Timestamp: 5b55ee46
Fault Module Name: PBCMP170.dll
Fault Module Version: 188.8.131.528
Fault Module Timestamp: 5b55ef1a
Exception Code: c0000005
Exception Offset: 0004208d