The GetLastError() works for me everywhere I'm using it. Can you post your code? What WIndows version are you running?
>GetLastError always return 0. I'm try to call simple CopyFile API function with non exist file names. CopyFile return 0 - error. But GetLastError return 0. I need to use GetLastError in internet API to calculate size of the buffer to receive the string.
>
>Thanks for help.
--sb--