Home > Software engineering >  Advice on how to use VS2010 create their own definition file suffix
Advice on how to use VS2010 create their own definition file suffix

Time:09-27

As title, I novice, o master, the more detailed, the better,

CodePudding user response:

Add that the MFC

CodePudding user response:

You manually create a any type of file, any added to the file to the project can
In 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 import

CodePudding user response:

CWinApp: : EnableShellOpen
CWinApp: : 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, too

CodePudding user response:

To ask, what I use is CreateFile created files

CodePudding user response:

In http://www.codeproject.com search the Shell Extension
  • Related