Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Error code from Windows API
Message
From
02/06/1997 19:58:14
 
 
To
02/06/1997 19:54:44
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00034590
Message ID:
00034620
Views:
35
>>>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
Previous
Reply
Map
View

Click here to load this message in the networking platform