Andrew Khromtchenkov

Subscribe to Andrew Khromtchenkov: eMailAlertsEmail Alerts
Get Andrew Khromtchenkov: homepageHomepage mobileMobile rssRSS facebookFacebook twitterTwitter linkedinLinkedIn


Top Stories by Andrew Khromtchenkov

If your application is long-running and uses PC resources intensively, it may be useful to display memory and processor usage in the application's window. It's a good idea to use graphics that look like those in the performance tab of the Windows NT Task Manager. This article illustrates this technique. It's clear that the main application window can't display resource usage; only the separate subtask can. I use the term subtask instead of thread to be exact. PowerBuilder implements multitasking through the use of shared objects. It spawns a new subtask whenever the SharedObjectRegister function is invoked. This subtask contains a separate system thread. You can be assured of it with the help of a utility that shows all threads of the process. I use a PSLIST freeware utility that can be downloaded from www.sysinternals.com. So you've created the object belonging to ... (more)

Using Shared Objects to Graphically Display CPU and Memory Usage

If your application is long-running and uses PC resources intensively, it may be useful to display memory and processor usage in the application's window. It's a good idea to use graphics that look like those in the performance tab of the Windows NT Task Manager. This article illustrates this technique. It's clear that the main application window can't display resource usage; only the separate subtask can. I use the term subtask instead of thread to be exact. PowerBuilder implements multitasking through the use of shared objects. It spawns a new subtask whenever the SharedObjectRe... (more)