Guys, i need to know something, can someone clarify it for me ?
in the function CreateFile() i created, the following is an example
Code:
CreateFile(ofn.lpstrFile,GENERIC_READ,FILE_SHARE_READ,NULL,OPEN_EXISTING,0,0)
CreateFile(filename,GENERIC_WRITE,0,NULL,CREATE_ALWAYS,FILE_ATTRIBUTE_NORMAL,0);
Ok, this is something i need to know. How can i make a file, lets say .txt file as a hidden mode ? Another thing is, can i give my file an extension of its own, lets say .retard ? is it possible, maybe .ret, more appropriate. Because i dun wan the users to open the file and if they do, my program could open it for them instead. Is this achieveable ?