This class is not cocreatable, and we see no method available via COM that would give us one back.
To further amplify, this is with the default CCWs and tlbs that ship with the runtime for System and mscorlib in the directory \winnt\Microsoft.NET\..3705\ >From: Sam Gentile <[EMAIL PROTECTED]> >Reply-To: dotnet discussion <[EMAIL PROTECTED]> >To: [EMAIL PROTECTED] >Subject: [DOTNET] Trying to programatically register Assemblies through > CCW for COM? >Date: Thu, 30 May 2002 14:16:10 -0400 > >We are trying to register assemblies from unmanaged C++ COM code. This >means using the System.Runtime.InteropServices.RegistrationServices class >(ie the IRegistrationServices interface); in particular, we need to use the >methods RegisterAssembly and UnregisterAssembly. Both of these methods >take >an Assembly class. This class is not cocreatable, and we see no method >available via COM that would give us one back. We spent time looking at >AppDomain, but again it is not available via COM. Please advise if you >know >of a way we can work directly with these methods. Otherwise we will write >a >simple wrapper assemblyl and expose a COM callpoint. > >--------------------- >Sam Gentile >.NET Consultant >Co-author: Wrox Visual C++ .NET: A primer for C++ developers >BLOG: http://radio.weblogs.com/0105852/ >http://www.project-inspiration.com/sgentile/DotNet.htm >http://www.project-inspiration.com/sgentile/ >--------------------------- > > > > >_________________________________________________________________ >Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp. > >You can read messages from the DOTNET archive, unsubscribe from DOTNET, or >subscribe to other DevelopMentor lists at http://discuss.develop.com. --------------------- Sam Gentile .NET Consultant Co-author: Wrox Visual C++ .NET: A primer for C++ developers BLOG: http://radio.weblogs.com/0105852/ http://www.project-inspiration.com/sgentile/DotNet.htm http://www.project-inspiration.com/sgentile/ --------------------------- _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp. You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com.