03-16-2005, 05:56 PM
I am trying to use CreateMutex(). If I use it without declaration
and use CreateMutex(null,TRUE,"Name").....thinking the kernel32.bi include will do the job.....I get an error that arg 1 is wrong type.
Q) Do I need to use a Declare Function CreateMutex lib "kernel32.dll" etc definition before I can use CreateMutex????
Regards
John
and use CreateMutex(null,TRUE,"Name").....thinking the kernel32.bi include will do the job.....I get an error that arg 1 is wrong type.
Q) Do I need to use a Declare Function CreateMutex lib "kernel32.dll" etc definition before I can use CreateMutex????
Regards
John