AppVerifier not catching DLL load/ref count RRS feed

  • Question

  • Hi,

    I have an application that will load a DLL and then some operations will be performed from the exposed functions of the Loaded DLL.

    During this process, the ref count for the DLL increases , but when i call freelibrary expecting that the ref count for the loaded DLL should come to 0, it is not, ref count for the DLL is 2 after the freelibrary is called.

    Application is added in the APpverifier but in the AppVerifier logs no error/warning is raised. Does this mean DLL count is not caught by AppVerifier.  

    To find the ref count i had to use WinDBG to the ref count for the DLL.

    Kindly help.

    Monday, February 26, 2018 6:47 AM