Click here to Skip to main content
15,888,095 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionASSERT(pState->m_hSocketWindow != NULL); When trying to close in the same thread Socket Was Created Pin
ForNow12-Feb-17 16:02
ForNow12-Feb-17 16:02 
AnswerRe: ASSERT(pState->m_hSocketWindow != NULL); When trying to close in the same thread Socket Was Created Pin
Jochen Arndt13-Feb-17 1:19
professionalJochen Arndt13-Feb-17 1:19 
QuestionI don't quite get this thing I've noticed Pin
Member 1297423512-Feb-17 15:56
Member 1297423512-Feb-17 15:56 
QuestionRe: I don't quite get this thing I've noticed Pin
David Crow12-Feb-17 16:31
David Crow12-Feb-17 16:31 
AnswerRe: I don't quite get this thing I've noticed Pin
Richard MacCutchan12-Feb-17 23:20
mveRichard MacCutchan12-Feb-17 23:20 
GeneralRe: I don't quite get this thing I've noticed Pin
Member 1297423513-Feb-17 11:28
Member 1297423513-Feb-17 11:28 
GeneralRe: I don't quite get this thing I've noticed Pin
Richard MacCutchan13-Feb-17 21:49
mveRichard MacCutchan13-Feb-17 21:49 
GeneralRe: I don't quite get this thing I've noticed Pin
leon de boer15-Feb-17 17:31
leon de boer15-Feb-17 17:31 
The file type recognition is controlled by windows and windows by default doesn't know what a .CPP is or many other types for that matter. More distinctly it doesn't know what program to associate to the file type. That is all done via the File Type Association widget in control panel in windows. The save file dialog is a common control dialog from windows and it is it that is directing the prompt.

Usually any good installer for a C++ program makes the changes for association to the file type for you. So either you have a lazy installer for a C++ program or it made the association and you have since broken it.

Whatever the case stop complaining about it and go fix it in the File Type Association widget in the windows control panel. If you need assistance an internet search on "File type association on Windows" should give you a multitude of links to work with. It's a bit like complaining when you click on a .BMP file it doesn't open it in the right editor, yeah so go fix it.

As an extra helpful tip I can tell you that on the file type association it is useful to select plain text filter onto the .CPP file type. That allows windows searches to go inside your .CPP files on a text search. It is sometimes useful if you have a lot of code directories (like I do) to find a specific block of code if you know something unique about it. You can do a computer wide search for the text string in a .CPP file and it has saved me hours of searching.
In vino veritas


modified 15-Feb-17 23:41pm.

QuestionUDP Server vs Client Pin
bkelly1311-Feb-17 13:40
bkelly1311-Feb-17 13:40 
AnswerRe: UDP Server vs Client Pin
Richard MacCutchan11-Feb-17 20:40
mveRichard MacCutchan11-Feb-17 20:40 
GeneralRe: UDP Server vs Client Pin
bkelly1312-Feb-17 3:38
bkelly1312-Feb-17 3:38 
GeneralRe: UDP Server vs Client Pin
Richard MacCutchan12-Feb-17 6:07
mveRichard MacCutchan12-Feb-17 6:07 
AnswerRe: UDP Server vs Client Pin
leon de boer12-Feb-17 6:59
leon de boer12-Feb-17 6:59 
QuestionHow to create a Data Segment in a DLL that can only be accessed by a valid trusted application Pin
Rajesh_Parameswaran9-Feb-17 3:26
Rajesh_Parameswaran9-Feb-17 3:26 
AnswerRe: How to create a Data Segment in a DLL that can only be accessed by a valid trusted application Pin
Rick York9-Feb-17 7:05
mveRick York9-Feb-17 7:05 
QuestionPostMessage issues/questions Pin
ForNow8-Feb-17 2:15
ForNow8-Feb-17 2:15 
AnswerRe: PostMessage issues/questions Pin
Victor Nijegorodov8-Feb-17 11:09
Victor Nijegorodov8-Feb-17 11:09 
GeneralRe: PostMessage issues/questions Pin
ForNow9-Feb-17 2:05
ForNow9-Feb-17 2:05 
QuestionDeleting Image IN VC++ Pin
raajpatel7-Feb-17 23:14
raajpatel7-Feb-17 23:14 
SuggestionRe: Deleting Image IN VC++ Pin
Jochen Arndt7-Feb-17 23:28
professionalJochen Arndt7-Feb-17 23:28 
GeneralRe: Deleting Image IN VC++ Pin
raajpatel8-Feb-17 0:47
raajpatel8-Feb-17 0:47 
AnswerRe: Deleting Image IN VC++ Pin
Jochen Arndt8-Feb-17 0:54
professionalJochen Arndt8-Feb-17 0:54 
AnswerRe: Deleting Image IN VC++ Pin
CPallini7-Feb-17 23:50
mveCPallini7-Feb-17 23:50 
QuestionIM chat question Pin
Tracy Software5-Feb-17 21:17
Tracy Software5-Feb-17 21:17 
QuestionCoding on hostel mannagement in c program Pin
Member 129807512-Feb-17 21:39
Member 129807512-Feb-17 21:39 

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.