1. Ravi Nath
  2. PowerBuilder
  3. Thursday, 7 September 2017 16:37 PM UTC

Hi,

I use sharedregister and sharedobjectget methods in my application to make it mutithreaded. It works great in pb version 11 and 12 but no longer works in 2017. I extensively use this feature. SharedobjectGet method has been set to obsolete in 2017 since it no longer supports EaServer. So what is my workaround now?

 

Thanks,

Ravi

Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Friday, 8 September 2017 13:18 PM UTC
  2. PowerBuilder
  3. # 1

Hi Ravi;

   FYI: I just heard back from Engineering and our Documentation Teams and Appeon will be removing the "Obsolete" message from all the SharedObjectXxxx () methods in the PB Help for our PB 2017 MR01 release later this month!  yes

   Our sincere apologies for this oversight! 

 

Regards ... Chris Pollach

Appeon: Director, Developer Relations

Comment
  1. Ravi Nath
  2. Friday, 15 September 2017 15:51 PM UTC
Thanks Chris, that helps otherwise I would be dead in the water.



I would like to go thorugh your implementation. Can you please send me the link to it?



 

  1. Helpful
There are no comments made yet.
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Thursday, 7 September 2017 18:06 PM UTC
  2. PowerBuilder
  3. # 2

Hi Ravi;

  OMG .. these methods should never have been marked as "obsolete" just because EAServer has been deprecated. These methods have nothing to do with EAS (although EAS did eventually support this PB feature). The SharedObjectXxxxx methods are the heart & sole of PowerBuilder's multi-threading feature implementation!

FYI:   I have just sent an email over to our Engineering / Documentation teams about this oversight.

FWIW: I use & even support this feature in my frameworks. In fact, I was just using it for a new framework feature enhancement under PB 2017 and the SharedObjectXxxx methods are working just fine for me. However, I use the two NVUO approach as recommend in the PB documentation in my implemenation.

 

HTH

Regards ... Chris

 

 

Comment
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.