PxPlus User Forum

Twitter Twitter Twitter

Author Topic: To ERR 65 or not to err 65  (Read 213 times)

Cees Trip

  • Member
  • **
  • Posts: 9
    • View Profile
    • Company website
To ERR 65 or not to err 65
« on: May 07, 2024, 08:00:26 AM »
Hello all,

I'am puzzeld. We are, sadly, leaving pxplus behind for a ERP in Business Central. To keep access to our old pxplus files I purchased a 2 user pxplus windows licence. Now I am trying to get selected parts of out present programs working in windows.
Now I'm experiencing something crazy. Under the old version 12.500000 I don’t get a error 65 when I create an existing window element multiple times. Also no error when making it visible, hide etc.
Under windows (version 20.100000) I do get an error 65. See Attachment.
Maybe I changed some in our old software at some point. I don't remember what, though. I would appreciate it if anyone could help me with this.
- personal is not the same as important - Terry Pratchett

martinp

  • Silver Member
  • ***
  • Posts: 38
    • View Profile
Re: To ERR 65 or not to err 65
« Reply #1 on: May 07, 2024, 10:50:57 AM »
Must be due to an upgrade in pxplus that causes this perhaps due to object properties?  I dont know if any PRM would help you here.

Can you add an err=*NEXT  to your controls...    This must be some legacy code?

0010 BEGIN
0020 MULTI_LINE 115,@(10,10,10,10)
0030 MULTI_LINE 115,@(10,10,10,10),ERR=*NEXT
0040 ESCAPE

Devon Austen

  • Administrator
  • Diamond Member
  • *****
  • Posts: 386
  • Don’t Panic
    • View Profile
    • PVX Plus Technologies
Re: To ERR 65 or not to err 65
« Reply #2 on: May 07, 2024, 11:14:26 AM »
Both version 12.5 and version 20 normally return a error 65 if you try to use a control handle already in use.

Your PxPlus 12.5  likely has something in the START_UP that is making it ignore the error.

I would compare the START_UP of both versions and you may find your answer there.
Principal Software Engineer for PVX Plus Technologies LTD.

Mike King

  • Diamond Member
  • *****
  • Posts: 3824
  • Mike King
    • View Profile
    • BBSysco Consulting
Re: To ERR 65 or not to err 65
« Reply #3 on: May 07, 2024, 02:39:50 PM »
Looking at what you posted you will notice that when the error was not reported you are connecting via WINDX whereas you get the error when connected directly.  You can tell this by the command line prompt -> versus -}.

If you have enabled WindX Turbo Mode (which is done be default in Nomads) duplicate CTL errors will not be reported back to the server but instead will be reported locally and reported only if the WindX setup enables local error reporting (default is not enabled).

WindX and Nomads are designed to maximize performance by running in Turbo Mode as no errors are anticipated.  This allow the system to run faster by not waiting for the WindX to report success or failure (much like UDP if you are familiar with that network protocol).
« Last Edit: May 07, 2024, 03:20:11 PM by Mike King »
Mike King
President - BBSysco Consulting
eMail: mike.king@bbsysco.com