Re: Crash from FWSavePreviewToPDF UPDATED!
Posted: Fri Jul 08, 2011 2:47 pm
Antonio, the computer (laptop) with the problems in the moment is not reachable! Is it possible, that the computer has to low memory? He has only 1 Gb.
Or the problem comes from cTempfile() ????
Without a path-parameter .\ is default and in this path no rights existing in win7 in circumstances. This temp-file should be in temp-directory as default. I have also problems with timage:saveimage(). In this method cTempfile() is calling.
A possible code:
Or the problem comes from cTempfile() ????
Without a path-parameter .\ is default and in this path no rights existing in win7 in circumstances. This temp-file should be in temp-directory as default. I have also problems with timage:saveimage(). In this method cTempfile() is calling.
A possible code:
- Code: Select all Expand view
- function temp_path()
local cPath := ".\"
do case
case !empty(getenv("TEMP"))
cPath := getenv("TEMP")+"\"
case !empty(getenv("TMP"))
cPath := getenv("TMP")+"\"
endcase
return cPath