iGetLastError Always Returns 2 with IE5
Keywords: iGetLastError IE5
Question:
Just upgraded to IE5 and I always get iGetLastError() returns 2. I am not sure they are really related but my script (to read *this* BBS) has been working for eons until I upgraded IE4 to IE5. Any similar experiences?Answer:
Hmmm. #2 is basically FileNotFOund.I studied the problem. Some notes.
iUrlOpen seems to work but somehow a bad error code is getting set. It looks like maybe a bug in the new WinInet DLL. We will be adding some kind of fix to set iGetLastError to 0 if the operation seemed to have worked.
Try ignoring iGetLastError after a ireadurl - expecially if the value is 2, and assume it is ok.
Article ID: W12599Filename: iGetLastError Always Returns 2 with IE5.txt