calling functions in C# dll from remote desktop PC

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.
 
G

Guest

Not easily. You'll have to create a managed application "listener" that
waits for calls and then invokes methods.

-Chris
 
G

Guest

Chris has already explained it briefly :)

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

Simon Hart

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.
 
G

Guest

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top