Hi there,
I can't find to limit a com enabled application but I would like to limit the number of instances to only ONE. (This is intended to be a central process hold state of several informations).

Problem is : the traditional method using FindWindow and returning FALSE from InitInstance works ok except when a script language (like VBSCRIPT) tries to use a CreateObject on it.

I've tried to do the same with VB5 and it works fine, thus if I can do it with VB I could to it with VC++

Thanks