- Jason Schultz
- PowerBuilder
- Wednesday, 4 January 2023 09:53 PM UTC
After upgrading from PB2019R2 to PB2022 (build 1878) and migrating our source code, we've experienced some difficulties / inconsistencies between running our application via the IDE (in x64 mode) vs. a complied/deployed .exe (64-bit).
When running within the IDE, we didn't experience any runtime issues. Attempting to run our deployed .exe, we got application errors. Troubleshooting the issue identified a number of Windows API calls in our code where the parameter values needed to be changed from Long to LongPTR and/or Long to ULong. We're in the process of idenfiting all the API calls and we're going to refactor our code to use any unicode version (if applicable).
While troubleshooting the above behavior, we did reach out to Appeon customer service and was told the PB2022 IDE and a PB2022 deployed .exe rely on the same runtime engine. If that's the case, why do we see the difference in behavior? Just trying to get a better understanding of what we're experiencing.
Thanks,
Jason
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.