The default constructor does not open a file but rather sets m_hFile to file::hFileNull.
stdioFile( LPCTSTR lpszFileName, UINT nOpenFlags )
//Create a new standard I/O file.
//Get the origin folder path.
strOriginPath = GetAppPath() + "OriginC";
string strFile = strOriginPath + "\\test.txt";
stdioFile ff(strFile, file::modeCreate | file::modeReadWrite);
Creates a stdioFile object and opens the file having the path specified by the parameter lpszFileName. This constructor combines the functions of the default constructor stdioFile() and the Open member function. An exception is thrown if an error occurs while opening the file. Depending on the severity of the error, the user should be alerted by an exception handler.