who can tell me??thanks:)
Posted on 2001-08-04 21:18:08 by snowingedge
Hey snowingedge (and everyone) ..

In case you did not know, it does NOT hurt to provide more information when making a question.
There are people in this board who would love to be able to help you and others as well (include latigo.asm).

So in order to have a nice and rich explanation and/or solution to your riddle, you should feed 'us' with the right (or minimum) amount of information.

What do you mean by 'whatisviewoffile?goodbye' ?

Are you talking about some feature of this board?
Is it some strange MASM switch?
Or shall it be an undocumented Win32 API ?

Please take THE minute required to formulate a dignified question.

Ah and DO say 'thanks' when someone replies.

Have a nice night. :alright:


Pd: This is for all those who behave like our friend snowingedge here. :cool:
Posted on 2001-08-04 22:11:40 by latigo
If you're talking about "MapViewOfFile", this is a function that combined
with CreateFileMapping allows you to "memory map" a file... read
your documentation, rephrase your question :)
Posted on 2001-08-04 22:20:27 by f0dder
I'm very sorry.my english is pool:(so i haven't provide more information when making a question. sorry...

pls look at description of "MapViewOfFile":

"......Multiple views of a file (or a file-mapping object and its
mapped file) are said to be "coherent" if they contain identical data at a specified time. This occurs if the file views are derived from the same file-mapping object....."

so,i mean,i can't understand what's "views of a file ".

thanks for latigo and f0dder:)
Posted on 2001-08-05 04:37:14 by snowingedge

View of file is like a portion of a file
maped from the drive to memory. With MapViewOfFile, you
can map part of a file, created or opened with CreateFile
and CreateFileMapping, in the address space of a process.
You can select the size and the region of the file mapping
that you want map in the process memory with MapViewOfFile,
and you can map several views of the same FileMaping object.

When you do so, anything that you write or read in the
view, will be simultaneously writen or readed in the
original file in the drive.

You will find a detailed explanation in:

Jefrey Richter: Programming Advanced Windows

I wait this can help you...
Posted on 2001-08-05 05:45:08 by n u M I T_o r