logo       

Re: Small example for rshd ?: msg#00001

gnu.cegcc.devel

Subject: Re: Small example for rshd ?

Pedro,

I've attached a patch.

Three pieces :
- be able to quit rshd without rebooting my PDA. Do you have another way
to do this?
- Error handling at the CreatePipe call. Read the comment, it would be
better, in my opinion, to be able to send a string back to the rsh.
Do you agree; and if so, shall I make changes in that direction ?
- Error handling in PipeLib. On my system, ActivateDevice returns with
ERROR_DEVICE_IN_USE if all is well, or with ERROR_FILE_NOT_FOUND if
the PipeDev.dll is not installed. (Respectively codes 2404 and 2.)

Comments ?

Danny

On Sun, 2007-07-01 at 09:12 +0200, Danny Backx wrote:
> On Sat, 2007-06-30 at 22:35 +0100, Pedro Alves wrote:
> > > Danny Backx write:
> > >> I haven't tried to debug this yet but I can't seem to get rshd to run
> > >>
> > >> I'm obviously doing something wrong. What should I be doing ?
> > >>
> >
> > I can't see anything obviously wrong with what you're doing.
> > Assuming the files you are trying to execute exist, it should be working.
>
> Silly me. Found it. I had not installed the PipeDev DLL. So I've proven
> that the error messages can still be improved :-)
>
> Sorry about the confusion !
>
> Danny
--
Danny Backx ; danny.backx - at - scarlet.be ; http://danny.backx.info

Attachment: x
Description: Text Data

Attachment: signature.asc
Description: This is a digitally signed message part

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/_______________________________________________
Cegcc-devel mailing list
Cegcc-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@xxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/cegcc-devel
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise