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.

run once

2 posts in Pocket PowerBuilder Last posting was on 2011-09-21 12:36:28.0Z
Danny Posted on 2011-09-21 11:56:53.0Z
From: Danny <pigexpert@agrisyst.com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:6.0.2) Gecko/20110902 Thunderbird/6.0.2
MIME-Version: 1.0
Newsgroups: sybase.public.pocketpowerbuilder
Subject: run once
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Message-ID: <4e79d105$1@forums-1-dub>
Date: 21 Sep 2011 04:56:53 -0700
X-Trace: forums-1-dub 1316606213 10.22.241.152 (21 Sep 2011 04:56:53 -0700)
X-Original-Trace: 21 Sep 2011 04:56:53 -0700, vip152.sybase.com
Lines: 9
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.pocketpowerbuilder:12480
Article PK: 262347

Pocketbuilder 2.5.2

How to check if a programm is running on a windows mobile device.

We would only start it once and bring the running program to the
foreground if they try to start it again.

Thanks
Eric


Chris Pollach Posted on 2011-09-21 12:36:28.0Z
From: "Chris Pollach" <cpollach@travel-net.com>
Newsgroups: sybase.public.pocketpowerbuilder
References: <4e79d105$1@forums-1-dub>
Subject: Re: run once
Lines: 28
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.5931
X-RFC2646: Format=Flowed; Response
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6109
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Message-ID: <4e79da4c$1@forums-1-dub>
Date: 21 Sep 2011 05:36:28 -0700
X-Trace: forums-1-dub 1316608588 10.22.241.152 (21 Sep 2011 05:36:28 -0700)
X-Original-Trace: 21 Sep 2011 05:36:28 -0700, vip152.sybase.com
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.pocketpowerbuilder:12481
Article PK: 262348

Hi Eric;

I se the Mutex ( ) API on my PK applications along with FindWindowW ( )
for external application checking. Check out my Foundation Classes for
PocketBuilder and sample applications from the SourceForge link below. Feel
free to use the FC's (they are Open Source) or borrow any good code you see!
:-)

--
Regards ... Chris
Blog: http://chrispollach.blogspot.com
PBDJ: http://chrispollach.sys-con.com
SourceForge: http://sourceforge.net/projects/stdfndclass

"Danny" <pigexpert@agrisyst.com> wrote in message
news:4e79d105$1@forums-1-dub...
> Pocketbuilder 2.5.2
>
> How to check if a programm is running on a windows mobile device.
>
> We would only start it once and bring the running program to the
> foreground if they try to start it again.
>
> Thanks
> Eric