c - Createfile function -


I am creating the file using the Createfile function. The program is working fine but I am unable to see the file created in the related folder. Apart from this, the option to "View hidden files" option is checked.

You can check that the function is working properly or not given back value value.

EDIT: The AC program function fails (though incorrectly) function fails. It is therefore very important to check each and every returning handle.

EDIT: Returned should not be INVALID_HANDLE_VALUE. (But I can imagine that zero is also not good).


Comments