Menu

#331 missing ClearErrors in GetWindowsVersion

2.0 Series
closed-fixed
5
2005-03-03
2005-03-03
Randall Fox
No

The function called GetWindowsVersion, which is listed
in the documentation needs the following line at the
beginning of the function:

ClearErrors

Took me several hours to figure out why the function
was not working right.. Turns out the error code was
set, and I was using NT. The function was always
returning "".

Please update the docs. Thanks.

Discussion

  • Amir Szekely

    Amir Szekely - 2005-03-03

    Logged In: YES
    user_id=584402

    Thanks, fixed.

     
  • Amir Szekely

    Amir Szekely - 2005-03-03
    • assigned_to: nobody --> kichik
    • summary: Function Bug with fix --> missing ClearErrors in GetWindowsVersion
    • status: open --> closed-fixed
     

Log in to post a comment.