Adam.
Quote:
>This means either win386.swp or pagefile.sys. What
>constant do I have to use to return a valid handle for such
>a file?
I'm not sure you can open the pagefile, since it's used exclusively by
the system.
FindFirstFile can give you the correct size though, without having to
open the file.
Matt
============================================
CodeHound - The Software Developer's Search Engine
http://www.codehound.com