1. Christos Ioannou
  2. PowerBuilder
  3. Tuesday, 16 April 2019 06:45 AM UTC

Downloaded R3 trial version and tried to compile Kodigo OpenExplorer from below SF link.

https://sourceforge.net/projects/kodigo/

Re-compiled canvas.pbx using VS2015 and PBNI libs from PB2017 R3, imported the PBX in the PBL , removed fcxpbni.pbd and re-inherited uo_canvas from the newly imported u_canvas object. Rebuilt the target and ran the application.

When application runs, IDE crashes without any message, wild guess it's PBNI's fault related to canvas.pbx? Has anyone managed to compile/run using this old PBNI extension?

 

Roland Smith Accepted Answer Pending Moderation
  1. Tuesday, 16 April 2019 07:49 AM UTC
  2. PowerBuilder
  3. # 1
0
Votes
Undo

You shouldn't have to recompile canvas.pbx. PBNI extensions are not PowerBuilder version specific.

 

I just tried it in PB 10 and PB 2017 and it aborts exactly the same way. The PowerBuilder code is just not compatible with Windows 10.

If you want to try a free GUI tool, I have one that allows you to code the interface in HTML.

Go here and download PBHtml:

http://www.topwizprogramming.com/tools.html

 

Comment
There are no comments made yet.
Christos Ioannou Accepted Answer Pending Moderation
  1. Tuesday, 16 April 2019 09:30 AM UTC
  2. PowerBuilder
  3. # 2
0
Votes
Undo

Thanks for the reply and suggestion.

Called a favor and a friend ran it in 10.5 , Win10 1803 without issue.

https://ibb.co/CKNXZG6

 

Comment
There are no comments made yet.
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Tuesday, 16 April 2019 15:40 PM UTC
  2. PowerBuilder
  3. # 3
0
Votes
Undo

Hi Christos;

   Suggestion: You should contact the Kodigo software author for a resolution.

Regards ... Chris

Comment
There are no comments made yet.
Christos Ioannou Accepted Answer Pending Moderation
  1. Wednesday, 17 April 2019 13:27 PM UTC
  2. PowerBuilder
  3. # 4
0
Votes
Undo

Thank you all for the suggestions.

Solution found, it was related to the "bitmapheader" structure, the first item declared as char[2] for some reason doesn't work properly with API function CopyBitmapFileHeader anymore and prefers an integer instead. Made the appropriate changes and now the application runs fine in PB2017 R3

 

Comment
There are no comments made yet.
Roland Smith Accepted Answer Pending Moderation
  1. Wednesday, 17 April 2019 15:36 PM UTC
  2. PowerBuilder
  3. # 5
2
Votes
Undo

The Bitmap functions run afoul of SAP's ill advised change to how structures are passed by external functions.

Check out the 12.6 example here:

http://www.topwizprogramming.com/freecode_bitmap.html

There is a new keyword progma_pack which lets you specify the byte alignment of structures.

Comment
Thanks again Roland, you have been most helpful.
  1. Christos Ioannou
  2. Wednesday, 17 April 2019 19:18 PM UTC
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.