Sean
June 20th, 1999, 09:49 PM
In my MFC MDI, when the user opens a file the program needs to create a temporary file. So because it is MDI I need to create a different temporary file name for each file opened, but I don't know how to do this. At the moment, my temp. file is called temp.txt, but this means that if the user opens a second input file my program crashes. How can I create different filenames for these temp files? I would like to use filenames of either of following formats: <inputfile>.tmp or temp1.txt, temp2.txt .
Thank you,
Sean.
Thank you,
Sean.