Hello,
What's the best way to verify the existance of a file given a path, short of opening it? Would GetFileSize(...) suffice?
Hello,
What's the best way to verify the existance of a file given a path, short of opening it? Would GetFileSize(...) suffice?
Last edited by SMurf; 08-28-2003 at 04:21 PM.
GetFileSize requires a handle of an opened file. So you will have to open it anyway. You might look into something like FindFile I can check on the exact name when I get home.
- Sean
If cities were built like software is built, the first woodpecker to come along would level civilization.
Black Frog Studios
FindFirstFile may be the right function.
[email protected]
Microsoft Visual Studio .NET 2003 Enterprise Architect
Windows XP Pro
Code Tags
Programming FAQ
Tutorials