Click here to get back home

Unable to execute mobile exe from telnet

 HomeNewsGroups | Search

microsoft.public.smartphone - Discuss any MS Smartphone OS issues here  

get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
Unable to execute mobile exe from telnet rajesshwari 02-12-2009
Posted by rajesshwari on February 12, 2009, 7:40 am
Please log in for more thread options

Hi all,
Iam developing an application in windows mobile in which i have two
application one application runs in the mobile say mobile.exe and
another mobile
runs in the pc say pc.exe my application is to start
mobile.exe from pc.exe im
achieving this functionality using RAPI api
CeCreateProcess().
I have two pcs
connected in LAN and the mobile is connected to PC1.
from pc2 im establishing a
telnet connection using Hyper terminal and
from here im calling pc.exe which
internally shd invoke mobile.exe
through the RAPI api. but in my case im getting
the Error saying
"Returned by WSARecv or WSARecvFrom to indicate the remote
party has ini
tiated a graceful shutdown sequence."
can any one tel me what
mightbe the reason for this error.
Iam not getting this error if i run this same
from a single pc to which
mobile is connected with out using any telnet.

Thanks
in advance,
Rajeshwari.


--
rajesshwari

Posted by r_z_aret on February 12, 2009, 3:52 pm
Please log in for more thread options
On Thu, 12 Feb 2009 04:40:29 -0800, rajesshwari

show/hide quoted text

RAPI uses the same "plumbing" as ActiveSync. So it will work if and
only if an ActiveSync connection exists between the PC running the
RAPI application and the device being manipulated by the RAPI
application. I would be _very_ surprised if you got your application
working with an indirect connection like telnet.

but in my case im getting the Error saying
show/hide quoted text

I think the text of this message is misleading, and this is one of
those cases where the error itself is what matters.

show/hide quoted text

That confirms my diagnosis.

show/hide quoted text

P.S. Your question would be much easier to read if you used some
punctuation. In particular, using sentences with periods (stops for
folks who speak some variant of "British" English) at the end of
sentences and capital letters at the beginning.

-----------------------------------------
To reply to me, remove the underscores (_) from my email address (and please
indicate which newsgroup and message).

Robert E. Zaret, eMVP
PenFact, Inc.
20 Park Plaza, Suite 400
Boston, MA 02116
www.penfact.com

Posted by rajesshwari on February 13, 2009, 12:10 am
Please log in for more thread options

Hi,
Thanlks for the reply.
I think u have misunderstood my question.
My pc2 has
nothing to do with the mobile or pc.exe.
Mobile is connected to pc1 and also
pc.exe is also stored in pc1 only.
PC2 is only used to establish a remote
connection to the pc1 and after
that i mean after connecting to pc1 iam giving a
command to run pc.exe
which should invoke mobile.exe which is connected to the
same pc.

Please help me in soving this issue.

Thanks and Regards,
Rajeshwari.


--
rajesshwari

Posted by r_z_aret on February 13, 2009, 4:08 pm
Please log in for more thread options
On Thu, 12 Feb 2009 21:10:54 -0800, rajesshwari

show/hide quoted text

I _think_ this is your setup
mobile device attached to pc1
pc1.exe runs on pc1 and uses RAPI to manipulate mobile device
pc2 connected to pc1 via telnet
pc2.exe runs on pc2

Now you're trying to get pc2.exe to control the pc1.exe so pc1.exe can
manipulate the mobile device.

If that is a correct description, then the problem is the connection
between pc2.exe and pc1.exe. And that has nothing to do with the
existence of the mobile device. Nor is it related to smarphones.

show/hide quoted text

-----------------------------------------
To reply to me, remove the underscores (_) from my email address (and please
indicate which newsgroup and message).

Robert E. Zaret, eMVP
PenFact, Inc.
20 Park Plaza, Suite 400
Boston, MA 02116
www.penfact.com

Posted by r_z_aret on March 9, 2009, 4:48 pm
Please log in for more thread options
On Sun, 15 Feb 2009 21:59:00 -0800, rajesshwari

show/hide quoted text

No. Reread my first reply.


show/hide quoted text

That depends heavily on what you mean by "run".


show/hide quoted text

I cannot understand your problem from this description.

You've described your problem three times. My first attempt to
paraphrase your description was wrong, so I tried again. You have not
responded to that second attempt.


show/hide quoted text

None of the telnet settings I've seen has any relevance whatsoever.


show/hide quoted text

-----------------------------------------
To reply to me, remove the underscores (_) from my email address (and please
indicate which newsgroup and message).

Robert E. Zaret, eMVP
PenFact, Inc.
20 Park Plaza, Suite 400
Boston, MA 02116
www.penfact.com

Similar ThreadsPosted
SP 2002 execute error! (build fine, emulator comes up, download fi January 19, 2006, 8:51 pm
telnet ? July 6, 2005, 2:25 pm
WMP 10 mobile is unable to play MP3s after installation of TCPMP April 5, 2007, 4:20 am
Windows Mobile Device Centre is unable to seen and connect my Qtek March 14, 2007, 4:43 am
Command Line, PING, TRACERT and TELNET January 16, 2006, 6:10 pm
Unable to play some MP3 files March 22, 2007, 6:24 pm
Unable to connect to Server January 10, 2008, 11:19 am
Unable to Syncronize PC - HTC Dash, Help!!! January 12, 2008, 12:28 am
Unable to sync my nextel i930 April 29, 2006, 1:15 pm
Unable to access start menu using WM5 October 10, 2007, 7:09 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Driving a better car - Fuelzilla.com

Cabling site for homeowners and pros alike - Cabling-Design.com

Friends:

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap
Privacy Policy