Re: using Dlls present in remote machine
- From: "Nicholas Paldino [.NET/C# MVP]" <mvp@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 3 Aug 2005 11:45:35 -0400
Rohith,
When you say you need to run them local in your C# application, I assume
you mean that you need to initialize the call from your C# application, but
have it execute on the remote machine.
In this case, look up "Remoting" in the .NET documentation. There
should be a tutorial there on how to create a remoting server and client
proxy.
--
- Nicholas Paldino [.NET/C# MVP]
- mvp@xxxxxxxxxxxxxxxxxxxxxxxxxxx
"Rohith" <Rohith@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:A8B545C9-55BB-48DB-8FE2-3CDBC45336FC@xxxxxxxxxxxxxxxx
> 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).
>>
>>
>>
.
- References:
- using Dlls present in remote machine
- From: Rohith
- Re: using Dlls present in remote machine
- From: Nicholas Paldino [.NET/C# MVP]
- Re: using Dlls present in remote machine
- From: Rohith
- using Dlls present in remote machine
- Prev by Date: Re: OO style Webservices or not
- Next by Date: Re: Floating point problem .....................
- Previous by thread: Re: using Dlls present in remote machine
- Next by thread: Re: using Dlls present in remote machine
- Index(es):
Relevant Pages
|