though under Macintosh this doesn’t occur, under windows process goes haywire and crashes the entire program,
(if the path of beginSaveScreenAsPdf is open by another application.)
I tried to solve this by using ofFile::open(path)before calling it but, that can only tell if file exists or not, so it is not good for the job.
Maybe we should catch this exception inside the function?
note that it must also be able to tell if file does not exist at all (if pdf is generated for the first time)
.much love guys. let me know if anybody knows a windows function that can do the job