Posted on 2001-08-24
Last Modified: 2013-12-26
Can you give an example of how to program multi-threaded apps in PowerBuilder?
Question by:pkaufman

Accepted Solution

Bhatti earned 50 total points
ID: 6423717
Shared Objects can be used on any 32-Bit Operating System. shared objects that are created on a client machine connot be used by other applications, only the application that register it.

By createing shared objects, each running in its own thread and calling methods asynchronously, program logic can be run parallel.

inv_notify = create n_cst_notify //Instance variable

n_cst_processing_obj lnv_obj //local variable

SharedObjectregister("n_cst_processing_obj", "SO_parallel_Processing")
IF SharedObjectget("SO_Parallel_Processing", lnv_obj) = success! THEN
    lnv_obj.POST of_Parallel_Process()

    <other processing continues>

Shared object sessions are best used to cache information.

Please read also in PB Help the functions as



Featured Post

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Alternative to 23 1,132
Add jar to project library in intellij idea 3 317
eclipse ide not starting 16 82
Eclipse Neon start with Admin account only 6 119
Update (December 2011): Since this article was published, the things have changed for good for Android native developers. The Sequoyah Project ( automates most of the tasks discussed in this article. You can even fin…
Here is a helpful source code for C++ Builder programmers that allows you to manage and manipulate HTML content from C++ code, while also handling HTML events like onclick, onmouseover, ... Some objects defined and used in this source include: …
The viewer will learn how to use NetBeans IDE 8.0 for Windows to connect to a MySQL database. Open Services Panel: Create a new connection using New Connection Wizard: Create a test database called eetutorial: Create a new test tabel called ee…
The viewer will learn how to use and create keystrokes in Netbeans IDE 8.0 for Windows.

815 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now