Re: NULL Device ?

danny staple <[email protected]> Tue, 25 Oct 2005 14:26:26 +0100
Newsgroups gmane.comp.windows.ce.freeware
Message-ID <[email protected]>
Hi Thilo,
I would love to know why you require it. I am not sure of the context
in which it would be appropriate on the pocketPc - so if you give us
an idea why you want to use "/dev/null" then maybe we can come up with
something (an alternative).

You might want to start with an class derived from one of the stream
classes, get that to function as required, and then consider how to
turn it into a device later. My best proposal is to create some sort
of driver (is there a DDK for the PocketPC?) which is based on that
class to emulate this, ie it takes a stream, and just empties
everything that goes into its buffer.

Out of interest, what happens if you do try to direct something at NUL: in CE?

Danny
--
http://orionrobots.co.uk - Build Robots

On 24/10/05, "Thilo Köhler" <[email protected]> wrote:
> @Marco
>
> Thanks, but that not a null device.
> e.g. I can not copy 1GB to this device ;-)
> I need a device that definetly does throw the data
> away immediately, without creating a real file in the filesystem.
> Just like NUL: under Windows, \dev\nul under Linux and NIL: under AmigaOS.
>
> --
> 10 GB Mailbox, 100 FreeSMS/Monat http://www.gmx.net/de/go/topmail
> +++ GMX - die erste Adresse für Mail, Message, More +++
>
> [Non-text portions of this message have been removed]
>
>
>
>
>
> Yahoo! Groups Links
>
>
>
>
>
>
>


------------------------ Yahoo! Groups Sponsor --------------------~--> 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/W4wwlB/TM
--------------------------------------------------------------------~->