calling functions in C# dll from remote desktop PC

  • Thread starter Thread starter Jay
  • Start date Start date
J

Jay

Hi,
In my application i have created a dll in C#. This dll will be on a
smartphone or pocket pc device.I want to call functions in this dll
from remote desktop.
Is there any way to achive this.
 
Not easily. You'll have to create a managed application "listener" that
waits for calls and then invokes methods.

-Chris
 
Chris has already explained it briefly :)

What type of connection your devices will have? USB, WiFi, GPRS etc...?
Is it a controled environment?
 
Jay,

This is difficult as Pocket PC's do not have static IP addresses generally.
You need to be looking at System.Net.Sockets namespace for both desktop and
Pocket PC apps. This is really low-level as you will be parsing byte data
back and fourth.

Very challenging project, good luck!

Cheers
Simon.
 
Create an app that runs on the PC. Have it "listen" on your desired
transport (TCP/IP socket, serial port, can and string, whatever). When a
call comes in from the PPC app, parse the proprietary command language that
you come up with and determine what the caller wants. Run the method it's
asked you to run and ship the result back through the communication layer.

-Chris
 
Back
Top