Error in PB 7.0.3 build 10047

Hello,
I thing there is an error in PB 7.0.3 build 10047 in function
SharedObjectRegister. Try this in application open event:

ErrorReturn r
r = SharedObjectRegister('nvo_test','test')
choose case r
 case Success!
  MessageBox('','Success')
  SharedObjectUnregister('test')
 case SharedObjectCreatePBSessionError!
  MessageBox('','SharedObjectCreatePBSessionError')
 case else
  MessageBox('','else')
end choose

where nvo_test is an arbitrary nonvisual user object.
When running from PB IDE, first run is OK - SharedObjectRegister returns
Success!, but in next runs SharedObjectRegister returns
SharedObjectCreatePBSessionError!. So after each run you must restart PB IDE
to be able to run application from IDE!


0
Kazim
4/4/2001 6:40:34 PM
sybase.powerbuilder.objects 3160 articles. 0 followers. Follow

1 Replies
528 Views

Similar Articles

[PageSpeed] 27
Get it on Google Play
Get it on Apple App Store

This is a known issue, already addressed, but not released as an EBF yet.

Also, please do NOT crosspost.


regards,
Bill Green

"Kazim�r Robert" wrote:

> Hello,
> I thing there is an error in PB 7.0.3 build 10047 in function
> SharedObjectRegister. Try this in application open event:
>
> ErrorReturn r
> r = SharedObjectRegister('nvo_test','test')
> choose case r
>  case Success!
>   MessageBox('','Success')
>   SharedObjectUnregister('test')
>  case SharedObjectCreatePBSessionError!
>   MessageBox('','SharedObjectCreatePBSessionError')
>  case else
>   MessageBox('','else')
> end choose
>
> where nvo_test is an arbitrary nonvisual user object.
> When running from PB IDE, first run is OK - SharedObjectRegister returns
> Success!, but in next runs SharedObjectRegister returns
> SharedObjectCreatePBSessionError!. So after each run you must restart PB IDE
> to be able to run application from IDE!

--
Bill Green[TeamSybase]
-----------------------------------------------------------
Vote Now: Readers Choice Awards
http://www.sys-con.com/java/readerschoice2001/


Good Links to know, good places to go:

Developer stuff on my.sybase.com - Sign up, visit often
Find things like:
-- EAServer 3.6.1 maintenance release is available
-- PowerBuilder 7.03 maintenance release available
-- Components, White papers, articles and more
-- Web DataWindow Article Series (Author: Larry Cermak)
-- Jaguar Agent for Web Servers (HTTP access to PB components)

PFC Guide - http://www.pfcguide.com

Power3 - Custom Training  - http://www.power3.com
Bill Green @ Power3 - wgreen@power3.com
-----------------------------------------------------------


0
Bill
4/4/2001 9:13:44 PM
Reply:

Web resources about - Error in PB 7.0.3 build 10047 - sybase.powerbuilder.objects

Error - Wikipedia, the free encyclopedia
The word error entails different meanings and usages relative to how it is conceptually applied. The concrete meaning of the Latin word "error" ...

Google translated Russia to 'Mordor' in 'automated' error
Google releases a statement after one of its online tools translated "Russian Federation" to "Mordor".

Error 404: Security insights found
... are generally associated with client requests 500 - 599 are generally server related For the casual web user, an encounter with a 404 error ...

Google Translate ‘technical error’ labels Russia as evil kingdom of ‘Mordor’
... of the Rings’ fiery, evil kingdom of Mordor, and its foreign minister is a “sad little horse,” according to a Google Translate “technical error” ...

RANKED: The best and most ridiculous 404 error pages on presidential campaign websites
... machine gun . That may seem a tad unusual, but it's become commonplace this campaign season for candidates to put together priceless 404 error ...

Avoiding errors and issues at the hospital - Videos - CBS News
More than 35 million Americans a year spend at least one night in a hospital, and the system may seem complicated to navigate. Dr. Tara Narula ...

US sailors made 'navigational error' : Pentagon
The 10 U.S. sailors held by Iran before being released on Wednesday made a navigational mistake, the U.S. military said on Thursday.

Carter: 'Navigational error' led sailors to Iran waters - CNNPolitics.com
... were within three miles of Iran's Farsi Island when the Iranians took them. "I think that this much is clear, there was a navigational error ...

Unlike Mozilla, Google anticipated SHA-1 errors from HTTPS traffic inspection systems
Earlier this week, Mozilla was forced to backpedal on banning new SHA-1 digital certificates because the move completely cut off some Firefox ...

Ted Cruz: Failure To Report Goldman Sachs Loan A 'Paperwork Error'
Old Tailgunner Ted feigned ignorance and had the nerve to play the poverty card when asked about the loan he "forgot to mention" to the FEC from ...

Resources last updated: 1/22/2016 12:50:55 PM