The Assembly Search system is Fusion.dll. Not sure where to start, but If I were doing it, I start with the Fusion system.
Thanks, Shawn Wildermuth [EMAIL PROTECTED] Author of Pragmatic ADO.NET http://adoguy.com/book http://ONDotnet.com Microsoft .NET MVP > -----Original Message----- > From: Moderated discussion of advanced .NET topics. > [mailto:[EMAIL PROTECTED] On Behalf Of > Andrew Cherry > Sent: Saturday, January 17, 2004 5:01 PM > To: [EMAIL PROTECTED] > Subject: [ADVANCED-DOTNET] Locating an assembly from unmanaged code... > > I'm trying to find a way to locate an assembly from unmanaged > code prior to attempting to load it. > > It's basically for a COM add-in type usage, so the > information is stored in the registry already. So I start off > with the assembly name and the class name. > > I know the search paths, and can check for the Codebase key > in the CLSID key for each assembly, but I'd rather be sure > I'm matching the behavior the runtime would exhibit -- ie, > have an unmanaged path to Type::GetTypeFromCLSID... which > doesn't seem to exist. > > There apparently was going to be a function in the Metadata > unmanaged APIs to find an assembly, but that's not > implemented -- anyone have any other ideas that can stay in > unmanaged code that don't require rewriting the search logic? > > Thanks, > Andrew > > =================================== > This list is hosted by DevelopMentor. http://www.develop.com > Some .NET courses you may be interested in: > > NEW! Guerrilla ASP.NET, 26 Jan 2004, in Los Angeles > http://www.develop.com/courses/gaspdotnetls > > View archives and manage your subscription(s) at > http://discuss.develop.com > =================================== This list is hosted by DevelopMentor� http://www.develop.com Some .NET courses you may be interested in: NEW! Guerrilla ASP.NET, 26 Jan 2004, in Los Angeles http://www.develop.com/courses/gaspdotnetls View archives and manage your subscription(s) at http://discuss.develop.com
