Menu

#350 InstallLib error for new shared libraries

closed-fixed
None
5
2005-04-16
2005-04-13
No

When using the Library.nsh InstallLib macro, a new
shared library causes the error flag to be set.

I traced the problem to a bug within Library.nsh. The
ReadRegDword instruction (line 223) for incrementing
the shared count will fail when a library is brand new (no
registry entry yet). There is a subsequent ClearErrors
instruction in the code. But it doesn't get executed for
new libraries.

Discussion

  • Amir Szekely

    Amir Szekely - 2005-04-16

    Logged In: YES
    user_id=584402

    Thanks, fixed. I've added ClearErrors as suggested in the
    forum thread.

     
  • Amir Szekely

    Amir Szekely - 2005-04-16
    • assigned_to: nobody --> kichik
    • status: open --> closed-fixed
     

Log in to post a comment.