DLL Question!

  • Thread starter Thread starter Harold S
  • Start date Start date
H

Harold S

Hi all,
I have created a class library project in VB .NET and need to distribute
the DLL to other machines..
When i try to register the DLL from the bin folder in the class library
project on the other machines it gives me an Error saying DLLServer entry
point was not found.
I tried regasm /tlb to register it and it still doesnt like it.

Is there a simpler way of distrbuting .Net DLL's or am i doing it the wrong
way?

Can somebody help please?

Thanks
HS
 
The concept of regsvr32 is gone with .net. Copy the .dll to the directory
it is needed in, the application should look for it there, as long as the
copy local was set to true in the project.
 
* "Harold S said:
I have created a class library project in VB .NET and need to distribute
the DLL to other machines..

The DLL doesn't need to be registered if it's only used by .NET
assemblies.
 
Oh, and of course you'll need to make sure the correct version of the
Framework is installed computer receiving the .dll.
 
Thanks for all your replies ...really appreciate it..
I have verified the version is right.
I need to use the DLL in a SQL Server environment ..
The DLL is actually a Encrypt/Decrypt DLL hence i need to use this in my
stored proc when I try to insert a record in the DB.
I thought to do this I would need to register the DLL.

Thanks
HS
 
When you compile the DLL, make sure that it is marked for COM, and set
the correct COM attributes on the exposed objects so that they are
marshaled correctly.

Take a good look at the documentation on COM Interop.

HTH

David
 
Hi David,

Is there any specific reading that you could point to? There are so many
materials out there ...difficult to get down to the real stuff that I need
to make this work.

Would really appreciate any input.

Thanks

HS
 
Back
Top