- Jerrod Bonner
- PowerBuilder
- Tuesday, 27 November 2018 02:38 AM UTC
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:
inet iinet_base
GetContextService("inet",iinet_base) //comment out for successful deployment
iinet_base.HyperlinkToURL("http://www.appeon.com")
if isvalid(iinet_base) then destroy iinet_base
Anyone have similar experiences or know of any workarounds?
I have attached files for duplication.
Problem signature:
Problem Event Name: APPCRASH
Application Name: PB170.EXE
Application Version: 17.2.0.1858
Application Timestamp: 5b55ee46
Fault Module Name: PBCMP170.dll
Fault Module Version: 17.2.0.1858
Fault Module Timestamp: 5b55ef1a
Exception Code: c0000005
Exception Offset: 0004208d
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.