Hi,

I want to prevent the user from starting more than 1 instance of my app.

I would assume that I would put some code in the WinMain function to detect if a instance allready exists and then exit but not sure how I would implement it.

I'm using VC++ W/OUT MFC.

Any help would be appreciated..

Dan