all groups > dotnet remoting > june 2005 >
You're in the

dotnet remoting

group:

.Net Remoting server as a dll


.Net Remoting server as a dll whitecm1 NO[at]SPAM gmail.com
6/24/2005 1:38:29 AM
dotnet remoting:
I'm sorry if this a silly question be can someone please confirm that
you can;t use a dll as a .net remoting server (host)

Thanks in advance

Chris
Re: .Net Remoting server as a dll Christopher Schipper
6/24/2005 9:28:09 AM
I don't see why not, it all depends on how the dll is implemented.

I havent tried it myself, but the issue would be starting it.My remoting
server is in a dll, however is referenced by a managed exe that starts it.

I would try to search for how to start a dll via svchost. If you can get
that far it should be a breeze to get your svr into a dll.


[quoted text, click to view]

Re: .Net Remoting server as a dll jabailo NO[at]SPAM texeme.com
6/24/2005 10:04:07 AM
[quoted text, click to view]

I just turned my remoting server into a windows service, so it's always
on and available and I can control it via Control Panel.

Maybe that's what you want?

Re: .Net Remoting server as a dll Chris
6/27/2005 1:31:15 AM
Thanks for the information - unfortuantly I can't turn it into a
service as it needs to be loaded with another application (AutoCAD to
be exact) but thanks for the information
Re: .Net Remoting server as a dll jabailo NO[at]SPAM texeme.com
6/27/2005 7:55:42 AM
[quoted text, click to view]

So you want to set up a server that can broadcast, but create it as a dll,
not an exe, and then have other clients remote its objects?

--
Texeme Textcasting Technology
Re: .Net Remoting server as a dll Chris
6/29/2005 7:38:40 AM
That's the one - the aim is to be able to control AutoCAD from external
applications.
Anyway, I have successfully got the server started, however I now get
System.IO.FileNotFoundException: File or assembly name Client, or one
of its dependencies, was not found raised.....
Re: .Net Remoting server as a dll Rob Haynes
6/30/2005 9:14:55 AM
Yes you can, and I do. I've implemented a dll with a "C" interface that is
itself a remoting server and a client. Here is a references I found very
useful.

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vcmex/html/vcconconvertingmanagedextensionsforcprojectsfrompureintermediatelanguagetomixedmode.asp



[quoted text, click to view]

AddThis Social Bookmark Button