Click here to get back home

Unable to execute mobile exe from telnet

 HomeNewsGroups | Search

get this group's latest topics as an RSS feed  microsoft.public.smartphone - Discuss any MS Smartphone OS issues here

please rate
this thread
If you were  Registered and logged in, you could reply and use other advanced thread options
Posted by rajesshwari on February 12, 2009, 7:40 am

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
On Thu, 12 Feb 2009 04:40:29 -0800, rajesshwari



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


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



That confirms my diagnosis.



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

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
On Thu, 12 Feb 2009 21:10:54 -0800, rajesshwari



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.



-----------------------------------------
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
On Sun, 15 Feb 2009 21:59:00 -0800, rajesshwari



No. Reread my first reply.




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




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.




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




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


Subject Author Date
Unable to execute mobile exe from telnet rajesshwari 02-12-2009
If you were  Registered and logged in, you could reply and use other advanced thread options

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

1-Script XML SitemapXML Sitemap
Privacy Policy