Invalid Number of parameters in CreateMutex
Delphi
2
Posts
2
Posters
8
Views
1
Watching
-
Hi! I'm trying to restrict my exe to only one at any time. I've used the following code:
var
Mutex : THandle;Mutex := CreateMutex(nil,False,'MyMutexName');
I got the following error in CreateMutex: 'Invalid Number of Parameters". How to create a Mutex in Delphi?
-
Hi! I'm trying to restrict my exe to only one at any time. I've used the following code:
var
Mutex : THandle;Mutex := CreateMutex(nil,False,'MyMutexName');
I got the following error in CreateMutex: 'Invalid Number of Parameters". How to create a Mutex in Delphi?