Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Error code from Windows API
Message
De
02/06/1997 19:58:14
 
 
À
02/06/1997 19:54:44
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00034590
Message ID:
00034620
Vues:
33
>>>The error is 487. In the WNetAddConnection I am using, the HLP is defining the error messages in text format. How can I make the relation between the error code returned and the error messages in text format?
>>
>>lnError = GetLastError()
>>lcError = space( 255)
>>= FormatMessage( 4096, 0, lnError, 0, @lcError, 255, 0)
>>wait wind lcError
>>
>>You must also declare GetLastError and FormatMessage.
>
>Thanks a lot, I will apply that tomorrow.

This is written from memory and Win32API.
Try it and give me a feed back please. I had it in a test program that I don't have anymore.

Vlad
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform