Hello,
I recently migrated my application from PB 2017 R3 (1880) to PB 2019 R3 (2670).
One issue is that PB crashes if a context menu is populated with the PopMenu(x,y) function.
The crash happens only in the runtime version, not when I start it from the IDE.
The crash happens directly when executing the PopMenu-Function.
After some trial I found out, that it works again after removing the icon from the MenuImage-property (from all menu entries).
Usually i use resource images (*.ico) and the built in stock images as well.
I then tried to use only the stock images like Save! and Insert3! They show up correctly in the menu painter put crash when executed in the compiled version.
Has anybody experienced that issue?
Can it have to do with the deployed runtime files (maybe a file is missing, where the stock images are contained)?
Thank you for any help!
Martin
That was exactly the problem.
I didn't recognize, that there are new core runtime files. After deploying it, the error has gone.
BTW there is one another new runtime file pbsysfunc.dll. I also deployed this one.
Yes, the "pbsysfunc" DLL is also required. These an other DLL's are documented in the PB Help. Use the keyword search "runtime" and follow the "PowerBuilder runtime files" link to where the help describes all the deployment files required by feature.
Regards ... Chris