Thank you..

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Carlos Cobas
> Sent: 15 April 2005 09:52
> To: [email protected]
> Subject: RE: [msvc] Temporary files
> 
> 
> Hi,
> 
> I think you should delete them. You might want to have a look 
> at tmpfile & _rmtmp functions. This is an excerpt from MSDN:
> 
> [...]
> The tmpfile function creates a temporary file and returns a 
> pointer to that stream. If the file cannot be opened, tmpfile 
> returns a NULL pointer. This temporary file is automatically 
> deleted when the file is closed, when the program terminates 
> normally, or when _rmtmp is called, assuming that the current 
> working directory does not change. The temporary file is opened in
> w+b (binary read/write) mode.
> [...]
> 
> I hope this helps,
> Carlos
> 
> 
> > -----Mensaje original-----
> > De: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] 
> > En nombre de Truckle, Andrew J Enviado el: viernes, 15 de abril de 
> > 2005 10:37
> > Para: '[email protected]'
> > Asunto: [msvc] Temporary files
> > 
> > If I create a file in the users temp folder with my 
> program, should I 
> > then delete it?  I assume I should....
> > 
> > Andrew Truckle
> > CAD Manager
> > Atkins Survey and Mapping
> > Avon Way, Langley Park, Chippenham, Wiltshire. SN15 1GG
> > Telephone:     01249 455032
> > Switchboard:  01249 455000
> > Fax:                 01249 455045
> > E-Mail: [EMAIL PROTECTED]
> > www.atkinsglobal.com <www.atkinsglobal.com>
> > 
> > 
> > 
> > This email and any attached files are confidential and copyright 
> > protected. If you are not the addressee, any dissemination of this 
> > communication is strictly prohibited. Unless otherwise expressly 
> > agreed in writing, nothing stated in this communication shall be 
> > legally binding.
> > 
> > _______________________________________________
> > msvc mailing list
> > [email protected]
> > See 
> http://beginthread.com/mailman/listinfo/msvc_beginthread.com for 
> > subscription changes, and list archive.
> 
> 
> _______________________________________________
> msvc mailing list
> [email protected]
> See 
> http://beginthread.com/mailman/listinfo/msvc_beginthread.com 
> for subscription changes, and list archive.
> 
> 
> This message has been scanned for viruses by MailControl - 
> (see http://bluepages.wsatkins.co.uk/?4318150)
> 

_______________________________________________
msvc mailing list
[email protected]
See http://beginthread.com/mailman/listinfo/msvc_beginthread.com for 
subscription changes, and list archive.

Reply via email to