[fpc-pascal]Temporary file names under GO32

Aitor Santamar�a aitor.sm at wanadoo.es
Mon Nov 26 11:02:07 CET 2001


> > Hola,
> >
> > >Has anyone ever written a function to get a temporary unique file name?
> >
> > In Windows there're GetTempFileName and GetTempFileName32.
> >
> > For Linux, a hint: I heard that Borland had used somebody else's
> > algorithm to implement GUIDs. Implementation could be in FreeCLX.
> 
> 
> Simply use the tmpnam function from libc:
> 
> Function tmpnam (s : pchar) : pchar;cdecl;external 'c';
> 
> s may point to a buffer in which the filename is be copied;
> 

Well, thanks to all for the contribution, but my priority is it to be GO32V2, does it work under this platform?

Aitor
_____________________________________________________________________
Si no encuentras lo que buscas... ¿a qué estás esperando para entrar en www.wanadoo.es? 
Con nuestro nuevo motor de búsqueda conseguirás más rápido resultados de actualidad, personalizados y renovados diariamente.






More information about the fpc-pascal mailing list