I there a simple way to echo whatever's being typed on the desktop
onto an application running on a ppc?

thanks

awni

RE: echoing from desktop to ppc by RobertBurdickeMVP

RobertBurdickeMVP
Tue Oct 11 14:46:13 CDT 2005

This certainly depends on your definition of simple.

What I would probably do would be to write a WinSock solution where the
desktop application includes a thread that gets notified whenever a key is
typed. It then sends that information over a socket connection to the
connected PPC. The PPC then of course needs a thread that listens on the
same socket and echos the data it receives to a window.

The desktop application can connect to the PPC via the hostname "ppc_peer".
The PPC needs the host name of the connected PC.

Robert


"awni" wrote:

> I there a simple way to echo whatever's being typed on the desktop
> onto an application running on a ppc?
>
> thanks
>
> awni
>

RE: echoing from desktop to ppc by awni

awni
Wed Oct 12 06:23:02 CDT 2005

that's simple enough(i've done some socket programming on desktops, hope i
won't have any problems with the ppc). The next step would be to send the
input to the Messaging window. VB6.0 had a 'SendKeys' function, used in
conjunction with FindWindow() API would do the trick. Is there something
similar here in PPC whether in eVC or CF?

thank you

awni

"Robert Burdick [eMVP]" wrote:

> This certainly depends on your definition of simple.
>
> What I would probably do would be to write a WinSock solution where the
> desktop application includes a thread that gets notified whenever a key is
> typed. It then sends that information over a socket connection to the
> connected PPC. The PPC then of course needs a thread that listens on the
> same socket and echos the data it receives to a window.
>
> The desktop application can connect to the PPC via the hostname "ppc_peer".
> The PPC needs the host name of the connected PC.
>
> Robert
>
>
> "awni" wrote:
>
> > I there a simple way to echo whatever's being typed on the desktop
> > onto an application running on a ppc?
> >
> > thanks
> >
> > awni
> >

RE: echoing from desktop to ppc by RobertBurdickeMVP

RobertBurdickeMVP
Wed Oct 12 09:23:03 CDT 2005

Yep, take a look at the WM_KEYDOWN or WM_CHAR messages.

"awni" wrote:

> that's simple enough(i've done some socket programming on desktops, hope i
> won't have any problems with the ppc). The next step would be to send the
> input to the Messaging window. VB6.0 had a 'SendKeys' function, used in
> conjunction with FindWindow() API would do the trick. Is there something
> similar here in PPC whether in eVC or CF?
>
> thank you
>
> awni
>
> "Robert Burdick [eMVP]" wrote:
>
> > This certainly depends on your definition of simple.
> >
> > What I would probably do would be to write a WinSock solution where the
> > desktop application includes a thread that gets notified whenever a key is
> > typed. It then sends that information over a socket connection to the
> > connected PPC. The PPC then of course needs a thread that listens on the
> > same socket and echos the data it receives to a window.
> >
> > The desktop application can connect to the PPC via the hostname "ppc_peer".
> > The PPC needs the host name of the connected PC.
> >
> > Robert
> >
> >
> > "awni" wrote:
> >
> > > I there a simple way to echo whatever's being typed on the desktop
> > > onto an application running on a ppc?
> > >
> > > thanks
> > >
> > > awni
> > >