
Winsock's WSAGetLastError() doesn't work with VB5
Check the Err Object's LastDllError property. Since VB uses
run-time DLLs for so much of it's internal processing, errors
are frequently cleared by VB before you can call GetLastError
(or the Winsock variant).
--
Ron Ruble
Raffles Software Development, Inc.
Quote:
>Hi,
>A couple of colleagues of mine and myself, have been sweating over
returning
>error messages from the windows Winsock library. We have nailed it down to
>one thing VB5. Every bit of documentation or comments made on the net
refer
>WSAGetLastError() for retrieving the very last error messages. However we
>haven't been able to get it work.