Re: Windows CE redirected console
- From: "KMOS" <kmos_AT_rocketmail_DOT_com>
- Date: Wed, 21 Jan 2009 17:06:21 -0800
Just like the TELNETD does not replace anything, the CONSOLED is a stand alone Service/Driver instance (if Service is not available) that doing no more than redirect IO into COM port. And it does not depends on OutputTo registry but may need its own way to configure the setting.
"Garey Engle" <GareyEngle@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message news:B45D6386-1610-4664-983C-46DAE208E6F0@xxxxxxxxxxxxxxxx
I like this idea, but I guess I am not clear on where CONSOLED fits in to the
overall picture. Does it replace CONSOLE.DLL, or does CONSOLED work along
side CONSOLE.DLL and CONSOLED is redirecting the output to the COM port
instead of CONSOLE.DLL with the OutputTo registry setting?
Thanks again for the help.
"KMOS" wrote:
Due to the natural of Serial Driver could not support multiple open, as the
current COM1: has been occupied by the CMD.EXE so that your Application will
be failed when trying to open the COM1:
To resolve this situation, you may consider how the Telnet Server design
(source code be found in public\servers\sdk\samples\telnetd\).
The telnetd creates a TELx: device name and redirects the STDIO to it; as
the TEL_READ/WRITE will redirect payload into network socket, you could just
redirect it to your COMx: port.
Here is a sample of consoled contained in this BSP (although it is a BSP for
Intel IXP425 line but the console service should be platform neutral)
http://sourceforge.net/project/showfiles.php?group_id=89130&package_id=258307
Or just browsing the code by
http://ixdp4xx.svn.sourceforge.net/viewvc/ixdp4xx/WINCE600/PLATFORM/OSDN_RICHFIELD/SRC/APPs/CONSOLED/
.
- References:
- Windows CE redirected console
- From: Garey Engle
- Re: Windows CE redirected console
- From: KMOS
- Re: Windows CE redirected console
- From: Garey Engle
- Windows CE redirected console
- Prev by Date: Re: Windows CE redirected console
- Next by Date: Error Code 87:ERROR_INVALID_PARAMETER
- Previous by thread: Re: Windows CE redirected console
- Next by thread: Re: Windows CE redirected console
- Index(es):
Relevant Pages
|