General information
Category:
Windows API functions
>>>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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only