Sybase NNTP forums - End Of Life (EOL)

The NNTP forums from Sybase - forums.sybase.com - are now closed.

All new questions should be directed to the appropriate forum at the SAP Community Network (SCN).

Individual products have links to the respective forums on SCN, or you can go to SCN and search for your product in the search box (upper right corner) to find your specific developer center.

Powerbuilder COM DLL

2 posts in General Discussion (Chinese) Last posting was on 2007-06-25 20:08:41.0Z
MDesai Posted on 2007-05-10 07:48:44.0Z
Sender: 531c.4640279f.1804289383@sybase.com
From: MDesai
Newsgroups: sybase.public.chinese.powerbuilder.general
Subject: Powerbuilder COM DLL
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <4642ce5c.2488.1681692777@sybase.com>
NNTP-Posting-Host: 10.22.241.41
X-Original-NNTP-Posting-Host: 10.22.241.41
Date: 10 May 2007 00:48:44 -0700
X-Trace: forums-1-dub 1178783324 10.22.241.41 (10 May 2007 00:48:44 -0700)
X-Original-Trace: 10 May 2007 00:48:44 -0700, 10.22.241.41
Lines: 12
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.chinese.powerbuilder.general:229
Article PK: 104256

I have power builder COM DLL. When client application create
object and call function from DLL. It uses 100% CPU and all
other applications hangs while running process in DLL. Once
it finishes the work, everything runs OK. For your
information I am already using Yield () function in loop. It
has not effect at all.

I am using PowerBuilder 10.0 Build 4510 on windows XP and
Windows Server 2003 (SP1)

Any help, greatly appreciated
MDesai


Ranjith Posted on 2007-06-25 20:08:41.0Z
Sender: 4a0f.46801ec8.1804289383@sybase.com
From: Ranjith
Newsgroups: sybase.public.chinese.powerbuilder.general
Subject: Re: Powerbuilder COM DLL
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <468020c9.4a3d.1681692777@sybase.com>
References: <4642ce5c.2488.1681692777@sybase.com>
NNTP-Posting-Host: 10.22.241.41
X-Original-NNTP-Posting-Host: 10.22.241.41
Date: 25 Jun 2007 13:08:41 -0700
X-Trace: forums-1-dub 1182802121 10.22.241.41 (25 Jun 2007 13:08:41 -0700)
X-Original-Trace: 25 Jun 2007 13:08:41 -0700, 10.22.241.41
Lines: 16
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.chinese.powerbuilder.general:254
Article PK: 104281

What is the problem ?
If you are asking why the process is using all the CPU
resource. Windows doesn't do the threading properly.
let me know.

> I have power builder COM DLL. When client application
> create object and call function from DLL. It uses 100% CPU
> and all other applications hangs while running process in
> DLL. Once it finishes the work, everything runs OK. For
> your information I am already using Yield () function in
> loop. It has not effect at all.
>
> I am using PowerBuilder 10.0 Build 4510 on windows XP and
> Windows Server 2003 (SP1)
>
> Any help, greatly appreciated
> MDesai