Trying to register dll

J

Jan Eliasen

Hi

I have programmed an "Visual Basic Projects" => "Class Library" in
VB.NET and it compiles just fine.

When I try to run regsvr32 filename.dll I get an error;

bizhdapppreprocessor.dll was loaded, but the DllRegisterServer entry
point was not found.

DllRegisterServer may not be exported, or a corrupt version of
bizhdapppreprocessor.dll may be in memory. Consider using PView to
detect and remove it.

What can I do? I got this error the first time I ran regsvr32, so
there should be no other version in memory.

Thanks in advance.
 
C

Cowboy \(Gregory A. Beamer\)

Regsvr32.exe works with COM DLLs, not .NET DLLs. This gives you two choices.

Choice 1:
1. Use tlbexp.exe to create the COM callable wrapper
2. Register the wrapper using Regsvc32.exe

Choice 2:
1. Run Regasm.exe on the .NET assembly (does both steps above).

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

**********************************************************************
Think Outside the Box!
**********************************************************************
 
C

Chris Dunaway

I have programmed an "Visual Basic Projects" => "Class Library" in
VB.NET and it compiles just fine.

When I try to run regsvr32 filename.dll I get an error;

Do you intend to use this Class Library in a VB6 project? If not, then
there is no need to register it. Just reference it from VB.Net.

If you wish to use it from VB6 or other COM environment, then follow the
other poster's advice.

Chris
 

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