1. Vaibhav Kak
  2. PowerBuilder
  3. Thursday, 7 November 2019 05:54 AM UTC

We created COM component from PowerBuilder 9.0 IDE and deployed them on server. To be used by Third party applications.

Now few years back we upgraded to PowerBuilder17.0 IDE and again we want to use those COM components deployed on the server. 

The problem we are facing is that PowerBuilder 17.0 does not support generating COM from code. So not sure in case we need to apply fix in COM component created using PowerBuilder 9.0 IDE, how should we proceed. As if we would not be able to generate COM after source code migration using PB17 IDE. And if generate COM from older version of PB9.0 IDE and face issue who would be supporting us.

And also we are not sure if,

      a) There is a way we can use existing COM component created with PB IDE 9.0 

      b) Or any alternative for COM in PB IDE 17.0 so that third parties can interact with our component/service.

      c) And is it advisable to re-use COM objects created with PB 9.0 IDE after upgrading to PB17.0 IDE?

 Please suggest your view in this regard.

 

Notes: Attached screenshot is just for reference on subject line.

Attachments (1)
Accepted Answer
Armeen Mazda @Appeon Accepted Answer Pending Moderation
  1. Thursday, 7 November 2019 06:26 AM UTC
  2. PowerBuilder
  3. # Permalink

If what you are doing is non-visual, the most common and arguably better way to do this these days is to create a REST Web API.  PB 2019 supports this using the .NET DataStore and SnapDevelop C# IDE that is included in Cloud Edition and higher of PowerBuilder.

Comment
  1. Vaibhav Kak
  2. Friday, 8 November 2019 05:54 AM UTC
Thanks Armeen. How can we upgrade to Cloud Edition in PB 2017, do we need to buy a separate license or is there any other method.
  1. Helpful
  1. Armeen Mazda @Appeon
  2. Friday, 8 November 2019 16:48 PM UTC
Just have whoever is the admin for your licenses go to this URL and upgrade: https://account.appeon.com/upgrade

If any issues, please email the Appeon sales dept. sales@appeon.com
  1. Helpful
  1. Vaibhav Kak
  2. Monday, 11 November 2019 05:34 AM UTC
Thanks!
  1. Helpful
There are no comments made yet.
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Thursday, 7 November 2019 19:52 PM UTC
  2. PowerBuilder
  3. # 1

Hi Vaibhav;

   What you created in PB 9.x was called a COM / OLE Server. This OLE Server PB feature was removed by Sybase back in the v11.x time frame. That is why you would not see this option it in any further Sybase or SAP PB releases. When SAP handed over the IDE source code to Appeon in 2016 - we received the PB 12.6 code-line. So the COM (OLE) Server feature was long gone by then (removed that is - not just deprecated).

   As the others have chimed into this thread already, your alternatives are:

  • .Net Framework Web Service
  • .Net Framework Assembly (not mentioned yet)
  • .Net Core Assembly (new in PB2019)                              -OR-
  • .Net Core C# Web API (new web service in PB2019)

Regards ... Chris

 

Comment
  1. Vaibhav Kak
  2. Friday, 8 November 2019 05:55 AM UTC
Thanks Chris.
  1. Helpful
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.