Click here to Skip to main content
15,896,063 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: User-defined objects in Windows message parameters Pin
Rajasekharan Vengalil21-Nov-08 5:31
Rajasekharan Vengalil21-Nov-08 5:31 
AnswerRe: User-defined objects in Windows message parameters Pin
Roger Stoltz21-Nov-08 5:56
Roger Stoltz21-Nov-08 5:56 
QuestionSimple CFileDialog Question Pin
sabdalla8021-Nov-08 2:59
sabdalla8021-Nov-08 2:59 
QuestionRe: Simple CFileDialog Question Pin
David Crow21-Nov-08 3:05
David Crow21-Nov-08 3:05 
AnswerRe: Simple CFileDialog Question Pin
sabdalla8021-Nov-08 3:32
sabdalla8021-Nov-08 3:32 
GeneralRe: Simple CFileDialog Question Pin
Rajasekharan Vengalil21-Nov-08 5:34
Rajasekharan Vengalil21-Nov-08 5:34 
GeneralRe: Simple CFileDialog Question Pin
sabdalla8021-Nov-08 6:01
sabdalla8021-Nov-08 6:01 
GeneralRe: Simple CFileDialog Question Pin
Rajasekharan Vengalil21-Nov-08 6:12
Rajasekharan Vengalil21-Nov-08 6:12 
One way you can deal with this is to include version numbers in your file format and have your application inspect it to determine whether it is able to open it. If your old file format did not have a version number then start including one in the new version and interpret the absence of a version number in a file as an indication of it being in the old format. It is common for applications to be backward compatible but not the other way around, i.e., new versions of the application should be able to deal with files created using older versions but it is not necessary for older versions of the application to be able to deal with files created using the new version. Having said that, it would be desirable for applications to handle it gracefully when it encounters a file created using a newer version (use the file with reduced functionality maybe or fail to open it altogether with a user-friendly error message).

--
gleat
http://blogorama.nerdworks.in[^]
--

Number Two's eyes narrowed and became what are known in the Shouting and Killing People trade as cold slits, the idea presumably being to give your opponent the impression that you have lost your glasses or are having difficulty keeping awake. Why this is frightening is an, as yet, unresolved problem. -- HHGTG


QuestionDate greater than 2038 Pin
s@tish21-Nov-08 1:15
s@tish21-Nov-08 1:15 
AnswerRe: Date greater than 2038 Pin
Nibu babu thomas21-Nov-08 1:24
Nibu babu thomas21-Nov-08 1:24 
AnswerRe: Date greater than 2038 Pin
_AnsHUMAN_ 21-Nov-08 1:24
_AnsHUMAN_ 21-Nov-08 1:24 
QuestionLPBYTE to CString Pin
cpvc++21-Nov-08 1:12
cpvc++21-Nov-08 1:12 
AnswerRe: LPBYTE to CString Pin
Nibu babu thomas21-Nov-08 1:27
Nibu babu thomas21-Nov-08 1:27 
GeneralRe: LPBYTE to CString Pin
cpvc++21-Nov-08 1:29
cpvc++21-Nov-08 1:29 
GeneralRe: LPBYTE to CString Pin
David Crow21-Nov-08 3:02
David Crow21-Nov-08 3:02 
GeneralRe: LPBYTE to CString Pin
Rajasekharan Vengalil21-Nov-08 5:43
Rajasekharan Vengalil21-Nov-08 5:43 
QuestionIn a dll, exception handling works in Debug but not in Release Pin
sashoalm21-Nov-08 1:09
sashoalm21-Nov-08 1:09 
AnswerRe: In a dll, exception handling works in Debug but not in Release Pin
_AnsHUMAN_ 21-Nov-08 1:15
_AnsHUMAN_ 21-Nov-08 1:15 
AnswerRe: In a dll, exception handling works in Debug but not in Release Pin
Randor 21-Nov-08 5:26
professional Randor 21-Nov-08 5:26 
QuestionUsing wxWidgets.... Pin
anna mathew20-Nov-08 23:40
anna mathew20-Nov-08 23:40 
AnswerRe: Using wxWidgets.... Pin
Cedric Moonen21-Nov-08 0:11
Cedric Moonen21-Nov-08 0:11 
GeneralRe: Using wxWidgets.... Pin
JudyL_MD21-Nov-08 3:48
JudyL_MD21-Nov-08 3:48 
QuestionEasy questions about C++ [modified] Pin
akirilov20-Nov-08 23:34
akirilov20-Nov-08 23:34 
AnswerRe: Easy questions about C++ Pin
Cedric Moonen20-Nov-08 23:58
Cedric Moonen20-Nov-08 23:58 
GeneralRe: Easy questions about C++ Pin
akirilov21-Nov-08 0:16
akirilov21-Nov-08 0:16 

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.