Re: Windows CE redirected console



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/



.



Relevant Pages

  • Re: How to detect when a console child process is waiting for input?
    ... >>the console child process is waiting for input, so that I can give them ... > When a console is waiting for input, it is generally in ReadConsoleW() ... you'll need to redirect that call ...
    (microsoft.public.win32.programmer.kernel)
  • [RFC][PATCH] fix xconsole.
    ... The console messages may only be redirected once, and root may perform ... TIOCCONS security ... The ioctl TIOCCONS allows any user to redirect console output to another ...
    (Linux-Kernel)
  • Re: How to get stdout/stderr from unmanaged DLL?
    ... But any output from PInvoked calls to these unmanaged DLLs ... I ensure that a Console exists for my application (via ... I know I could redirect to a temp file on the process startup from my ... What do you mean by "batch" mode without a window? ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: How to detect when a console child process is waiting for input?
    ... the console child process is waiting for input, so that I can give them ... WaitForInputIdlefunction which will always return true with a console ... Create a named event to check in your monitoring program. ... you'll need to redirect that call ...
    (microsoft.public.win32.programmer.kernel)
  • Re: CMD on serial port
    ... > Actually, I beleive it was still redirect to COM port, but the Serial ... the best solution is to write a Console Daemon just like the ... > TELNETD, you can refer the source code of telnetd. ...
    (microsoft.public.windowsce.platbuilder)

Quantcast