Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Return Codes when using the API to Map Drives
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00142147
Message ID:
00142602
Vues:
33
>>DECLARE INTEGER SetErrorMode IN Win32API;
>> INTEGER fuErrorMode
>>* 1 = SEM_FAILCRITICALERRORS
>>lnoldmode = SetErrorMode(1)
>
>Right here. You set the new mode and the API call returns the old mode.
>
>>* Code here, and when done...
>>= SetErrorMode(lnoldmode)

I think I follow. The same line that is saving off the old setting is also assigning a new setting. Sorry for being dense, but I've been treated the way a baby treats a diaper most all day today and haven't had much recovery time! :-)

Seriously though, thanks a bunch for the clarification. I hope to put this project to pasture now...


Thanks again,
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform