hai,
it is heard that " To minimize the size of the filesys component,windows
ce only support Synchronous file acess,This is the reason why overlapped I/O
is not supported...
can anyone explain what is this synchronous file access and overlapped
i/o..
The statement implies that other windows os have both asynchronous access
and overlapped i/o....
Does it mean in the following way..

asynchronous => means multiple file access can be done..overlapped i/o is
the same,isn't it...otherwise tell me

Expecting ur early responce



thanking u

Re: what is Synchronous file access? by Yannick

Yannick
Thu Feb 03 01:49:27 CST 2005

On Win32, when using ReadFile and WriteFile, you can pass an optional
parameter which is an OverlapIo struct. this struct allow you giving an
HEVENT to the system so that your ReadFile/WriteFile would not be blocking
(especially for ReadFile, if you ask for a nr of characters that are not
available immediately). The call will be non blocking, and you'll be
notified of completion through the HEVENT you specified.

Under CE, you can't use this way of working, which means that Overlap prm is
not handled, and that all your calls will be blocking (example, if you
perform a read of n characters on a serial link, you won't exit Readfile
call before receiving the n characters or timeout)


--
----------------------------------------------------------------
Yannick Chamming's (eMVP)
ADENEO (ADESET)
Windows Embedded Manager
ychammings AT adeset DOT com>
http://www.adeset.com
Tél : +33 (0)4.72.18.57.77
Fax : +33 (0)4.72.18.57.78
----------------------------------------------------------------

"Manoj" <Manoj@discussions.microsoft.com> wrote in message
news:AD27475E-4DE4-44EE-839D-395225B4785F@microsoft.com...
> hai,
> it is heard that " To minimize the size of the filesys
component,windows
> ce only support Synchronous file acess,This is the reason why overlapped
I/O
> is not supported...
> can anyone explain what is this synchronous file access and
overlapped
> i/o..
> The statement implies that other windows os have both asynchronous access
> and overlapped i/o....
> Does it mean in the following way..
>
> asynchronous => means multiple file access can be done..overlapped i/o is
> the same,isn't it...otherwise tell me
>
> Expecting ur early responce
>
>
>
> thanking u
>
>



Thank u by Manoj

Manoj
Thu Feb 03 23:09:02 CST 2005


Hai,
i think i got cleared,but in case of the event how it will be
notified ,is it through any waitfunctions....so u want to say that the
application programmer have to take consideration about the hEvent and act
accordingly,in wince it is not the case,execution will block at ReadFile
,Right....,Is their any articles or documents to clear the scenario how
hEvent is handled in ReadFile case,since i haven't seen that kind of code....


Thanking u