... as 4 Gb. You will not have any problems managing strings below that limit. > it writes to a diferent file each time You can use FWH function cTempFile( cPath, cExtension ) --> cUniqueFileName
In source\function\filename.prg change function cTempFile() to return this:
return LFN2SFN( cFileName )
Pardon me if I make the wrong conclusion here, but wouldn't placing lfn2sfn() here would result in cTempfile() to always return a null string since cFileName is yet to be created?
Yes, you are right. It should be for the FW forum. I had a look into FWH code and I saw that FWH does it with cTempFile(). So the problem does not exist anymore. AAdd( ::aMeta, ::cDir + cTempFile( "\", "wmf" ) ) It is time for me to say goodby to clipper - as I still use 1.9 (rock ...
Gale, >So the mods to filename.prg could be made without the static but handle the issues concerning cTempFile and numeric filename and/or cNewFileName() and paths.< Agreed. I have been using my own tempfile() function for many years. It has leading characters in the ...
... use cNewFileName() but it does not handle paths. So the mods to filename.prg could be made without the static but handle the issues concerning cTempFile and numeric filename and/or cNewFileName() and paths. Thanks, Gale
... open 3 or more you still have the same problem. I think it is best to open each file before getting a new filename. I suppose you could force the cTempFile() to wait one second at the end. This way you couldn't get the same filename for another 24hrs. Or, you could just wait one second between ...
if you use cTempFile( cPath, 'DBF') to create temporary dbf file then the all numeric tempfile will cause an "illegal characters in alias" error when used. I would use cNewFileName() but I need to create temp file using path. Also ...
... de ayuda "?" cuando hacemos: ACTIVATE DIALOG oDlg ON INIT oDlg:lHelpIcon := .f. * Mejora: Se ha mejorado muchísimo la velocidad de la función cTempFile(). Esta función se usa ahora desde la previsualización de la impresión, así que la construcción de las páginas es mucho más rápida ahora. ...
... fix on Class TDialog to avoid to show the "?" help button when doing: ACTIVATE DIALOG oDlg ON INIT oDlg:lHelpIcon := .f. * Enhancement: function cTempFile() has been greatly improved in speed. This function is now used from the printing preview, so building the pages is much faster now. * Enhancement: ...
Evans, Please change cTempFile() function source code as explained here: http://fivetechsoft.com/forums/viewtopic.php?t=2596&highlight=ctempfile Antonio, Thanks for the advise, which is excellent, however, I have already developed ...