Oct 19, 2012 at 10:20pm
You should also pass a CFileException pointer as a last parameter. So:
1 2 3 4
|
CFile fileRepairOrder;
CFileException e;
fileRepairOrder.Open(m_FileSave + L".rpr", CFile::modeCreate | CFile::modeWrite, &e);
|
Note that you've written "fleRepairOrder" in your posted code, not "fileRepairOrder" as I did in the example above.
Last edited on Oct 19, 2012 at 10:25pm
Oct 20, 2012 at 11:20pm
Got it to work by putting it into a buttonclick
Last edited on Oct 20, 2012 at 11:24pm