Hello,
I have an application (developed with Powerbuilder 2017 R3) that works perfectly with both 32bit and 64bit executables in my Windows7 computer. But when I deploy it in a Windows10 client computer it only works the 32bit executable. In fact, using the 64bit executable the application initiates, connects to an Oracle database and loads some data in the screen, but as soon as it finishes opening it halts. No errors, no systems events to track.
Then I made a new application, the most basic one, that it just opens an empty window with no code inside. I compiled the 64 bit executable and deployed it in Windows 10 computers and it happens the same, it opens but as soon as the window is loaded the application closes.
I executed it using the /pbdebug parameter and surprise, it works. I tried then the first application with the /pbdebug parameter and it also works (very very slowly, but it works). I have no clue about how to resolve this issue. Could you help me please?
Thank you all.
Thanks!
This is the requested information:
1) Windows 10 Pro v10.0.16299
2) Oracle Client 12.2.0.1.0. The dabase it's on a server and it's an Oracle 10g 10.2.0.4.0
3) Configured in file tnsnames.ora
4) Oracle client
5) Powerbuilder 2017 R3 Universal Edition Build 1858
Thank you!
It sounds like it might be an event timing issue. You mention that the 64bit App seems to load some data and then crash. That would be something going on in your application during or right after a Retrieve(). Say for example, RetrieveEnd, ItemFocus, RowFocus, etc events. I would review your code in those areas. Also, any "Post"ed events around this action as well. My suspicions are that event firing order or timing of those might differ slightly in the 64bit App that are somehow causing this issue. This is my best guess as using the /PBDebug trace does alter somewaht the timing of these events & thus, their code execution.
Regards ... Chris