- Pieter Coene
- PowerBuilder
- Tuesday, 9 July 2019 12:52 PM UTC
Hi,
we are currently using the PB2017 R2 (build 1769) for all our programs, working fine. I'm testing to switch to PB 2019 (build 2082). Our program (i've only tested one) runs fine in the PB 2019 IDE. So far so good...
I made our own PBRuntime (like i always do), just including the dll's we need, and of course, following the instructions that i found in the documentation of PB.
Weirdly enough, when i create an executable and run it on a different PC (with the new PBRuntime), the program starts (i'm able to login through a DB connection), but crashes after a few seconds (in fact, when clicking on the menu). No 'error chrashing' report, the program just is gone...
I have checked the manuals, included all the mandatory dll's (i think), i even ran the 'dependency walker' to see which dll's are used to spot any difference. I don't see a difference with the developing machine.
I'm not sure how to debug this even further, it could be a 'dll'-mismatch but i'm not seeing it. Also, its hard to debug on what type of code it crashes because on the developing machine, it just runs fine.
I looked up the 'crash' in the windows event viewer, just a generic PBVM190.dll error saying that it crashed.
Does anyone have an idea on how to debug this? I've even tested with including almost every dll from the 'PB shared' folder, still crashes so i don't think it due to a lack of dll's (but when everything fails, i'm not sure of anything)
PS: i didn't try the runtime packager (yet) because we don't deploy our programs like that, we just create an executable, and deploy it with all the needed dll's in the same folder...
Greetz
Pieter
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.