Re: using Dlls present in remote machine

Tech-Archive recommends: Fix windows errors by optimizing your registry



Nicholas,

I need to run that dll in the remote machine and in my local C# application
i need to use those methods in dll.. If you have samples or articles where i
could get more information regarding this kindly let me know.
Thanks
"Nicholas Paldino [.NET/C# MVP]" wrote:

> Rohith,
>
> Do you need the dll to run on the remote machine or do you need it to
> run on the local machine?
>
> If you need it to run on the local machine, then you should just
> distribute it with your application and call it through the P/Invoke layer.
>
> If you need it to run on the remote machine, then you have a few
> options. The first would be to create a component derived from
> ServicedComponent that will act as a server in COM+, and then make the
> remote call from the client machine. The COM+ component would then make the
> call to the dll on the remote machine.
>
> You can also use remoting to do this as well, or expose a web service
> from the remote machine. In the end, you will have to wrap the call somehow
> in a technology that will allow the remote call.
>
> Hope this helps.
>
>
> --
> - Nicholas Paldino [.NET/C# MVP]
> - mvp@xxxxxxxxxxxxxxxxxxxxxxxxxxx
>
> "Rohith" <Rohith@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
> news:9C5A1E5F-8973-4399-87C1-28B4FE3ADCE5@xxxxxxxxxxxxxxxx
> >I need to import dlls that are present in the remote machine. Its a dll
> > written in C that exposes methods. I want to import that dll in my C#
> > application. But that dll is not present in the local machine. Its not a
> > webservice. I need something like remote method invocation(but dlls).
>
>
>
.



Relevant Pages

  • Re: using Dlls present in remote machine
    ... look up "Remoting" in the .NET documentation. ... > I need to run that dll in the remote machine and in my local C# ... > i need to use those methods in dll.. ... >>> written in C that exposes methods. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Unable to start Windows Service on a remote machine
    ... I assume you've confirmed you have Basic Authentication enabled on the ... relevant folders and scripts that call the .DLL, ... > I have written an ActiveX DLL to start/stop/query the ... > windows service on a remote machine. ...
    (microsoft.public.inetserver.iis.security)
  • eVC 4.0 Build/Download problem.
    ... "Build target not copied to remote machine during a batch build." ... When I tried to make a sample dll by using "Batched build" option, ...
    (microsoft.public.dotnet.framework.compactframework)
  • Re: using Dlls present in remote machine
    ... Do you need the dll to run on the remote machine or do you need it to ... If you need it to run on the local machine, ... > written in C that exposes methods. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: using Dlls present in remote machine
    ... >I need to import dlls that are present in the remote machine. ... > written in C that exposes methods. ... I want to import that dll in my C# ... I need something like remote method invocation. ...
    (microsoft.public.dotnet.languages.csharp)