By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,417 Members | 1,178 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,417 IT Pros & Developers. It's quick & easy.

DLL Question!

P: n/a
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
Nov 20 '05 #1
Share this Question
Share on Google+
6 Replies


P: n/a
* "Harold S" <hs****@grange.com> scripsit:
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.

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>
Nov 20 '05 #2

P: n/a
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" <hs****@grange.com> wrote in message
news:%2****************@TK2MSFTNGP09.phx.gbl...
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

Nov 20 '05 #3

P: n/a
Oh, and of course you'll need to make sure the correct version of the
Framework is installed computer receiving the .dll.

"Harold S" <hs****@grange.com> wrote in message
news:%2****************@TK2MSFTNGP09.phx.gbl...
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

Nov 20 '05 #4

P: n/a
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
"Morgan" <ab**@senditon.com> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
Oh, and of course you'll need to make sure the correct version of the
Framework is installed computer receiving the .dll.

"Harold S" <hs****@grange.com> wrote in message
news:%2****************@TK2MSFTNGP09.phx.gbl...
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


Nov 20 '05 #5

P: n/a
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

"Harold S" <hs****@grange.com> wrote in message
news:ub*************@tk2msftngp13.phx.gbl:
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
"Morgan" <ab**@senditon.com> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
Oh, and of course you'll need to make sure the correct version of the
Framework is installed computer receiving the .dll.

"Harold S" <hs****@grange.com> wrote in message
news:%2****************@TK2MSFTNGP09.phx.gbl...
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



Nov 20 '05 #6

P: n/a
H S
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

<David Williams>; "VB.NET MVP" <da********************@earthlink.net> wrote
in message news:O1**************@TK2MSFTNGP09.phx.gbl...
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

"Harold S" <hs****@grange.com> wrote in message
news:ub*************@tk2msftngp13.phx.gbl:
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
"Morgan" <ab**@senditon.com> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
Oh, and of course you'll need to make sure the correct version of the
Framework is installed computer receiving the .dll.

"Harold S" <hs****@grange.com> wrote in message
news:%2****************@TK2MSFTNGP09.phx.gbl...
> 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
>
>

Nov 20 '05 #7

This discussion thread is closed

Replies have been disabled for this discussion.