Re: Multiple applications get started

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



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
.



Relevant Pages

  • Re: passwards?
    ... support.microsoft.com and/or google. ... Try also searching a newsgroup for Windows ME. ...
    (microsoft.public.security)
  • IE6 MSVCRT.DLL solution
    ... After a full day of extensive searching, ... I finally found a newsgroup where someone else ... Good Luck! ...
    (microsoft.public.windows.inetexplorer.ie6.browser)
  • Re: How do I display pictures in Outlook?
    ... The newsgroup is a gold mine full of previously asked ... Google makes ... searching for those questions manageable. ...
    (microsoft.public.outlook)
  • Re: question on adbuster
    ... > If this isn't the right forum, I apologise...but I couldn't find the ... > appropriate newsgroup by searching on google. ...
    (microsoft.public.windowsxp.basics)
  • Re: Too bad this group is gone
    ... API method that is behaving contrary to its documentation, ... somehow superior to Usenet, as it has been shown in this thread. ... longer shows up for anyone searching on that tag. ... I've been reading this newsgroup since the mid-90s. ...
    (comp.lang.c)