Alex,
> Hello group!
>
> How to load assembly from GAC using unmanaged C++? I want load assembly into
> memory or get path to file on disk.
I've never tried it, but perhaps using the Fusion API [1] you could use
IAssemblyCache::QueryAssemblyInfo() to get the path to the actual dll and
then load that using LoadLibrary? (I'm presumming you want it for
inspection, you're not actually trying to load and execute managed code on
it, because it would be an entirely different thing)
[1] http://support.microsoft.com/default.aspx?scid=KB;EN-US;Q317540

Signature
Tomas Restrepo
tomasr@mvps.org
Alex Sedow - 26 Jun 2004 07:28 GMT
Tomas,
Thanks for the link!
Alex.
> I've never tried it, but perhaps using the Fusion API [1] you could use
> IAssemblyCache::QueryAssemblyInfo() to get the path to the actual dll and
[quoted text clipped - 7 lines]
> Tomas Restrepo
> tomasr@mvps.org