
Signature
Mattias Sjögren [MVP] mattias @ mvps.org
http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com
Please reply only to the newsgroup.
when i only had one class in the assembly, I was able to register it by
including the [ComREgisterFunction] attribute before the class definition. I
belive I used Regsvr32 and it worked then - i'll have to double check. In
the mean time, I thought Regasm only adds things to the GAC - can I use it to
add my assembly to the registry - for use by COM? Also, not to get off my
original question, how do I do this for more than one class in the assembly?
Thanks,
Yuri
"Mattias Sjögren" wrote:
> >but I am getting a "DLLRegisterServer entry point was not found"
> >error when I try to register the dll as a COM server. Can anyone tell me how
[quoted text clipped - 5 lines]
>
> Mattias
Mattias Sj?gren - 19 Jan 2005 22:49 GMT
>I thought Regasm only adds things to the GAC
It doesn't, you must be thinking of Gacutil.
>can I use it to add my assembly to the registry - for use by COM?
Yes, registering assebmlies with COM is all that Regasm does.
>Also, not to get off my
>original question, how do I do this for more than one class in the assembly?
The number of classes doesn't matter, you can include as many as you
like. I'm not sure if you can have multiple [ComRegisterFunction]
methods though, I've never tried that.
Mattias

Signature
Mattias Sjögren [MVP] mattias @ mvps.org
http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com
Please reply only to the newsgroup.