Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / Compact Framework / January 2006

Tip: Looking for answers? Try searching our database.

calling functions in C# dll from remote desktop PC

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Jay - 10 Jan 2006 06:45 GMT
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.
<ctacke/> - 10 Jan 2006 11:52 GMT
Not easily.  You'll have to create a managed application "listener" that
waits for calls and then invokes methods.

-Chris

> 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.
Jay - 10 Jan 2006 13:11 GMT
Could you please explain it briefly.

> Not easily.  You'll have to create a managed application "listener" that
> waits for calls and then invokes methods.
[quoted text clipped - 6 lines]
> > from remote desktop.
> > Is there any way to achive this.
Alex Yakhnin [MVP] - 10 Jan 2006 15:20 GMT
Chris has already explained it briefly :)

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

--
Alex Yakhnin, .NET CF MVP
www.intelliprog.com | www.opennetcf.org

> Could you please explain it briefly.
>
[quoted text clipped - 8 lines]
> > > from remote desktop.
> > > Is there any way to achive this.
jayashree malkhare - 11 Jan 2006 06:34 GMT
I am using active sync to connect with the device.
<ctacke/> - 11 Jan 2006 01:36 GMT
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

> Could you please explain it briefly.
>
[quoted text clipped - 8 lines]
>> > from remote desktop.
>> > Is there any way to achive this.
Simon Hart - 10 Jan 2006 16:18 GMT
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.

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

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.