Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Is_run32 & mulitple instances
Message
From
18/07/2000 12:58:02
 
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00393284
Message ID:
00393907
Views:
15
Hi George,

I finnaly got a chance to try out the code from the article. I have a question. In the INIT procedure of the MUTEX the line:
.nmutexerror = getlasterror() always gives me 0.

Since I had no idea what a MUTEX was and didn't have Win32.hlp, I created a .prg called MUTEX.prg. In it I put:

DEFINE CLASS mutex AS CUSTOM

cformcaption = ""
hmutex = 1
nmutexerror = 0

Then I put the 3 procedures.

Since I never created a class other than an object class I could use on a form I assumed this was the correct way to get this going.

Any insights you have would be much apreciated

TIA
Mike
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform