CodePudding user response:
Add that the MFCCodePudding user response:
You manually create a any type of file, any added to the file to the project canIn the solution list - right-click engineering - increase - external item, select your file to import
CodePudding user response:
What I mean is that the program can create a file and save yourself as my format, for example. XXXX, rather than import from outside their own definition format file, like a word, save the file format is. Doc, rather than to build one. Doc file to importCodePudding user response:
CWinApp: : EnableShellOpenCWinApp: : RegisterShellFileTypes
CodePudding user response:
CFile socfile;
Cstrings socSaveName;
SocSaveName=_T (" E: \ \ 123. Soc ");
Socfile. Open (socSaveName, CFile: : typeBinary | CFile: : modeCreate | CFile: : modeWrite | CFile: : modeNoTruncate);
Socfile. Write (temp, 40);
In fact, the file creation time directly to the good suffix
CodePudding user response:
Thank you, I see, if there are different ways, hope a vestige, tooCodePudding user response:
To ask, what I use is CreateFile created filesCodePudding user response:
In http://www.codeproject.com search the Shell Extension