Error usage of Smart Point

    技术2022-07-03  106

    ISecurity * piSecurity; piPS->get_Security( &piSecurity ); copied from comptr let the reference count plus one but without release .

    Should be :

    CComPtr< ISecurity > piSecurity; piPS->get_Security( &piSecurity );


    最新回复(0)