application only start once at time

D

Demian Marty

Hy there

How can I check at the startup of my application, if the application is
already running? I would allow that my application only can run once at
time.
In VB6, i can check this with App.PrevInstance, but I have found nothing for
the CF.

Thanks.
 
D

Daniel Moth

On Windows Mobile this is done for you already with netcf apps. For custom
WinCE images, you need to use a mutex... has been discussed many times
before.

Cheers
Daniel
 
D

Demian Marty

I use a custom WinCE image.
I have searched in google, but I have found no example code for my problem.
Can you poste a link where shows a solution (ex. sample code)

thanks.

bye
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top