6 Jul
2007
6 Jul
'07
6:44 p.m.
"Juan Lang" <juan.lang(a)gmail.com> writes:
I'm not sure that's safe: if the calling application has loaded a dll containing a SIP already, calls CryptSIPLoad, unloads the dll, then calls a function via the SIP, it'll fail. If I want to make sure that doesn't happen, I should LoadLibrary myself, yes? Then I'm forced to search by name myself, am I not?
Most likely what you want is do a LoadLibrary in all cases and don't bother to cache anything, the loader will take care of the refcount. -- Alexandre Julliard julliard(a)winehq.org