Hello everyone!

I'd need to count how many instances of my own application are actually running...how I could do that?... I tried with GetProcessHandleCount() giving as first parameter this:

HANDLE hInstance(AfxGetInstanceHandle());

but I always get 0 as count... so I think this functions isn't the right one...

Any idea?...

Thanks
Ciao
Luigi