Re: Multiple applications get started
- From: r_z_aret@xxxxxxxxxxxx
- Date: Tue, 05 Aug 2008 11:29:34 -0400
On Tue, 05 Aug 2008 13:03:13 GMT, "terry_513" <u45275@uwe> wrote:
Hello,
I have crerated a SDI application in eVC++4 on WinCE for Armv4i device.
When I run the application from the device, and somehow minimize it and again
click on the shortcut of the application, a new one starts up. What I want is
: Only 1 instance of the application must bne running. If at all the
application is minimized & the user clicks on the shortcut, the already open
application showld come up & not a new instance must be created. How do I
achieve this? Please guide me for the above.
This question gets asked and answered fairly often, but in enough
different ways to make searching a bit difficult. The best method uses
CreateMutex and FindWindow. And this method is used in at least on of
the samples that came with the SDKs I use (I'm not sure about the SDKs
for WM 6). You can get more info by using google to look for one of
the following
single instance
create createmutex findwindow
in this newsgroup or microsoft.public.pocketpc.developer.
NOTE: Google Group's behavior changed some time in spring 2008. You
can no longer type the name of a group in the group box and expect to
see posts from only that group. You can succeed by first searching for
the group (use the name of the newsgroup as the search string), and
then searching for within that group.
Thanks
-----------------------------------------
To reply to me, remove the underscores (_) from my email address (and please indicate which newsgroup and message).
Robert E. Zaret, eMVP
PenFact, Inc.
20 Park Plaza, Suite 478
Boston, MA 02116
www.penfact.com
.
- Follow-Ups:
- Re: Multiple applications get started
- From: terry_513 via PocketPCJunkies.com
- Re: Multiple applications get started
- References:
- Multiple applications get started
- From: terry_513
- Multiple applications get started
- Prev by Date: Re: How to change file attributes from read only to normal
- Next by Date: Re: Catch Key Events
- Previous by thread: Multiple applications get started
- Next by thread: Re: Multiple applications get started
- Index(es):
Relevant Pages
|