Click here to Skip to main content
15,895,557 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Is there any way to determine plunging or removing of a removable storage like flash memories to the system in MFC? Pin
Luc Pattyn18-Nov-09 7:44
sitebuilderLuc Pattyn18-Nov-09 7:44 
GeneralRe: Is there any way to determine plunging or removing of a removable storage like flash memories to the system in MFC? Pin
A&Ms18-Nov-09 8:05
A&Ms18-Nov-09 8:05 
GeneralRe: Is there any way to determine plunging or removing of a removable storage like flash memories to the system in MFC? Pin
Luc Pattyn18-Nov-09 8:19
sitebuilderLuc Pattyn18-Nov-09 8:19 
QuestionRe: Is there any way to determine plunging or removing of a removable storage like flash memories to the system in MFC? Pin
David Crow18-Nov-09 7:53
David Crow18-Nov-09 7:53 
AnswerRe: Is there any way to determine plunging or removing of a removable storage like flash memories to the system in MFC? [modified] Pin
A&Ms18-Nov-09 8:07
A&Ms18-Nov-09 8:07 
GeneralRe: Is there any way to determine plunging or removing of a removable storage like flash memories to the system in MFC? Pin
«_Superman_»18-Nov-09 8:09
professional«_Superman_»18-Nov-09 8:09 
QuestionRe: DDE in MFC Pin
mla15418-Nov-09 5:51
mla15418-Nov-09 5:51 
AnswerRe: DDE in MFC Pin
22491718-Nov-09 14:02
22491718-Nov-09 14:02 
My best guess is that of the Messagebox you have put in the InitInstance is behind this behaviour. The first time you double click on your file "mdi41.mdi4", your .exe application gets launched, however it is not getting intitalized correctly, untill you dismiss the MessageBox->"InitInstance" by clicking OK.

Once this happens, even though the document did not get loaded correctly, the Application may still be running (verify this using taskmanager). And next time you double click on the document again, the above mentioned running instance get the notification and loads the document correctly.

-Suhredayan

QuestionRe: DDE in MFC Pin
mla15419-Nov-09 11:01
mla15419-Nov-09 11:01 
AnswerRe: DDE in MFC Pin
22491719-Nov-09 14:16
22491719-Nov-09 14:16 
QuestionCFile::Read for readonly files Pin
Rakesh518-Nov-09 3:54
Rakesh518-Nov-09 3:54 
QuestionRe: CFile::Read for readonly files Pin
David Crow18-Nov-09 3:55
David Crow18-Nov-09 3:55 
AnswerRe: CFile::Read for readonly files Pin
Rajesh R Subramanian18-Nov-09 4:00
professionalRajesh R Subramanian18-Nov-09 4:00 
AnswerRe: CFile::Read for readonly files Pin
krmed18-Nov-09 5:34
krmed18-Nov-09 5:34 
QuestionDebug assertion failed caused by the "GetSafeHmenu()" [modified] Pin
transoft18-Nov-09 2:54
transoft18-Nov-09 2:54 
AnswerRe: Debug assertion failed caused by the "GetSafeHmenu()" Pin
CPallini18-Nov-09 3:14
mveCPallini18-Nov-09 3:14 
GeneralRe: Debug assertion failed caused by the "GetSafeHmenu()" Pin
transoft18-Nov-09 3:47
transoft18-Nov-09 3:47 
GeneralRe: Debug assertion failed caused by the "GetSafeHmenu()" Pin
Nemanja Trifunovic18-Nov-09 5:32
Nemanja Trifunovic18-Nov-09 5:32 
GeneralRe: Debug assertion failed caused by the "GetSafeHmenu()" Pin
CPallini18-Nov-09 5:45
mveCPallini18-Nov-09 5:45 
GeneralRe: Debug assertion failed caused by the "GetSafeHmenu()" Pin
Rajesh R Subramanian19-Nov-09 4:45
professionalRajesh R Subramanian19-Nov-09 4:45 
QuestionRe: Debug assertion failed caused by the "GetSafeHmenu()" Pin
David Crow18-Nov-09 3:24
David Crow18-Nov-09 3:24 
AnswerRe: Debug assertion failed caused by the "GetSafeHmenu()" Pin
transoft18-Nov-09 3:44
transoft18-Nov-09 3:44 
GeneralRe: Debug assertion failed caused by the "GetSafeHmenu()" Pin
David Crow18-Nov-09 3:48
David Crow18-Nov-09 3:48 
GeneralRe: Debug assertion failed caused by the "GetSafeHmenu()" Pin
transoft18-Nov-09 4:47
transoft18-Nov-09 4:47 
QuestionRe: Debug assertion failed caused by the "GetSafeHmenu()" Pin
David Crow18-Nov-09 4:50
David Crow18-Nov-09 4:50 

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.