Multipart named dll does not let itself be registered!

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,

I am naming all my assemblies in a multipart format, e.g.:

Company.Project.Component.dll

This has worked perfectly with C# assemblies. The problem arises with C++
native COM servers because when I try to regsvr32 them they don't get
registered.

And actually in C# I know one places the name of the assembly as seen by COM
by using AssemblyDescription. But regsvr32 has no flags or options for this!!

Does 2005 bring any way to specify the name of the COM component when that
name is multipart?
 
Native COM servers may have dependencies on other DLL's. By statically
linking your COM server, you can minimize or even eliminate all the
dependent DLL's, as they become incorporated into the final DLL. By using
dependency walker (http://www.dependencywalker.com) you can find out what
the dependent DLL's are. I would either place them into the same directory
as the COM DLL, or put them in the %WINDIR%\system32 directory. I'm a bit
vague here, but possibly any directory that is part of your PATH environment
variable will do; you'd have to confirm that though.

Brian
 
Back
Top