Multipart named dll does not let itself be registered!

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?
 
B

Brian Muth

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top