Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Is_run32 & mulitple instances
Message
De
18/07/2000 12:58:02
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00393284
Message ID:
00393907
Vues:
17
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform