Hi! Ermm, sorry but I don't quite get it. The file is already ni use, so now what do you want to do 1. prohibit the log dialog from showing or 2. prohibit the pointer to be set since the file is in use??
1. Use a wxLogNull target to disable all logging messages. 2. You can't do that. Read the wxFFile description. It says that you will have to check with IsOpened() like you did. wxFFile will always construct a valid pointer.
upCASE ----------------------------------- If it was hard to write, it should be hard to read!- Do. Or do not. There is no try! |