Deploy COM library

N

NooS

Hi.
I'm a newbie of .NET tecnology.
I try to develop a Class library project with Visual Studio 2005.
I add a COM class at this project.
I write my method and properties.
I compiling the library and obtain a dll file.
Well, when i try to register the DLL COM library, regsvr32 return this error:
....the entry point DllRegisterServer is not found.
What is the problem?
Where is the mistake?

Thank you if you can help me.
 
J

Jan Hyde (VB MVP)

NooS <[email protected]>'s wild thoughts were
released on Fri, 22 Feb 2008 05:11:00 -0800 bearing the
following fruit:
Hi.
I'm a newbie of .NET tecnology.
I try to develop a Class library project with Visual Studio 2005.
I add a COM class at this project.
I write my method and properties.
I compiling the library and obtain a dll file.
Well, when i try to register the DLL COM library, regsvr32 return this error:
...the entry point DllRegisterServer is not found.
What is the problem?
Where is the mistake?

You need to use regasm.

http://weblogs.asp.net/psteele/archive/2004/06/16/157767.aspx
 

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