Click here to Skip to main content
15,885,767 members
Please Sign up or sign in to vote.
3.67/5 (2 votes)
See more:
Hi,

Is there any method to create a file of desired size whenever I create a file using CreateFile().
Posted
Updated 6-May-10 21:27pm
v3

1 solution

SetEndOfFile can be used to extend or truncate a file.

 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900