Click here to Skip to main content
15,907,392 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Generalole drag and drop across application Pin
samsoft14-Jul-02 1:40
samsoft14-Jul-02 1:40 
Generalnumber validation Pin
slah13-Jul-02 23:27
slah13-Jul-02 23:27 
GeneralRe: number validation Pin
Christian Graus13-Jul-02 23:52
protectorChristian Graus13-Jul-02 23:52 
GeneralRe: number validation Pin
PJ Arends14-Jul-02 15:36
professionalPJ Arends14-Jul-02 15:36 
GeneralRe: number validation Pin
Ancient Dragon14-Jul-02 1:59
Ancient Dragon14-Jul-02 1:59 
Generaldialog title Pin
slah13-Jul-02 23:11
slah13-Jul-02 23:11 
GeneralRe: dialog title Pin
Christian Graus13-Jul-02 23:51
protectorChristian Graus13-Jul-02 23:51 
QuestionHow do I delete a temporary file when I can't delete it now? Pin
Hiusing13-Jul-02 21:55
Hiusing13-Jul-02 21:55 
Hello,
I have a program that makes images smaller before sending. I do not modify the original image so I make a resized copy into a temporary folder. Then I use
MAPISendMail(NULL, NULL, &mapiMsg, (FLAGS)(MAPI_LOGON_UI | MAPI_DIALOG), 0) to start the email client software. If users use outlook then the function doesn't return until the mail got send out or it closed. However, if users use such as netscape mail or hotmail as default email program then the function return right after it started. The problem is that I delete those temprary files right after MAPISendMail return. If I do not delete them right away, when should I delete them? There's no way for me to know when those file don't need anymore.
Any solutions?

Thanks,
Hiusing
AnswerRe: How do I delete a temporary file when I can't delete it now? Pin
Nish Nishant14-Jul-02 3:59
sitebuilderNish Nishant14-Jul-02 3:59 
GeneralRe: How do I delete a temporary file when I can't delete it now? Pin
PJ Arends14-Jul-02 15:38
professionalPJ Arends14-Jul-02 15:38 
GeneralFirst steps in animation.. Kinda Pin
Vitaly Belman13-Jul-02 16:43
Vitaly Belman13-Jul-02 16:43 
GeneralRe: First steps in animation.. Kinda Pin
Christian Graus13-Jul-02 17:25
protectorChristian Graus13-Jul-02 17:25 
GeneralRe: First steps in animation.. Kinda Pin
Vitaly Belman14-Jul-02 7:50
Vitaly Belman14-Jul-02 7:50 
GeneralRe: First steps in animation.. Kinda Pin
Christian Graus14-Jul-02 20:24
protectorChristian Graus14-Jul-02 20:24 
GeneralRe: First steps in animation.. Kinda Pin
Peter Occil13-Jul-02 17:51
Peter Occil13-Jul-02 17:51 
GeneralRe: First steps in animation.. Kinda Pin
Christian Graus13-Jul-02 18:00
protectorChristian Graus13-Jul-02 18:00 
GeneralList view and scroll bar Pin
Anonymous13-Jul-02 16:17
Anonymous13-Jul-02 16:17 
GeneralRe: List view and scroll bar Pin
Peter Occil13-Jul-02 16:48
Peter Occil13-Jul-02 16:48 
GeneralRe: List view and scroll bar Pin
Anonymous13-Jul-02 22:35
Anonymous13-Jul-02 22:35 
GeneralIm so confused Pin
Steve L.13-Jul-02 14:48
Steve L.13-Jul-02 14:48 
GeneralRe: Im so confused Pin
Christian Graus13-Jul-02 16:35
protectorChristian Graus13-Jul-02 16:35 
GeneralRe: Im so confused Pin
Steve L.13-Jul-02 17:19
Steve L.13-Jul-02 17:19 
Generalsimple scope question Pin
Otyug13-Jul-02 13:22
Otyug13-Jul-02 13:22 
GeneralRe: simple scope question Pin
Christian Graus13-Jul-02 13:37
protectorChristian Graus13-Jul-02 13:37 
GeneralVisual C++ MFC on Mac (OS 9 and X) Pin
Harlan Seymour13-Jul-02 13:11
Harlan Seymour13-Jul-02 13:11 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.