Click here to Skip to main content
15,849,785 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: C program to start before windows boot Pin
Randor 24-Jul-11 2:04
professional Randor 24-Jul-11 2:04 
GeneralRe: C program to start before windows boot Pin
ayandelhi24-Jul-11 2:10
ayandelhi24-Jul-11 2:10 
AnswerRe: C program to start before windows boot Pin
Stefan_Lang25-Jul-11 0:14
Stefan_Lang25-Jul-11 0:14 
GeneralRe: C program to start before windows boot Pin
ayandelhi25-Jul-11 2:02
ayandelhi25-Jul-11 2:02 
AnswerRe: C program to start before windows boot Pin
cmk25-Jul-11 9:44
cmk25-Jul-11 9:44 
AnswerRe: C program to start before windows boot Pin
Ni740826-Jul-11 3:01
Ni740826-Jul-11 3:01 
GeneralRe: C program to start before windows boot Pin
ayandelhi26-Jul-11 4:24
ayandelhi26-Jul-11 4:24 
QuestionProblems with structures Pin
rahul.kulshreshtha22-Jul-11 21:45
rahul.kulshreshtha22-Jul-11 21:45 
I have a structure, suppose USER_INFO. When my program starts it serializes this structure from an archive file. My program uses these values, modifies few of them and when my program exists it serializes all values to that file again which it can read again on next start up. This way I stores the state of the application.

Now the problem is that when I add a new field (or structure member variable) to structure. It can not read the old values from the file because structure size is now changed. I want a solution to overcome this problem. Currently an alternative way which I am using is introducing a new structure, read the old data in old structure, copy old data from old structure to new structure and write the new structure to the file. But it is not a good solution. Can Sqlite db give a better solution because adding a new filed in db is not a big problem?
QuestionRe: Problems with structures Pin
Rajesh R Subramanian22-Jul-11 22:04
professionalRajesh R Subramanian22-Jul-11 22:04 
AnswerRe: Problems with structures Pin
rahul.kulshreshtha22-Jul-11 22:31
rahul.kulshreshtha22-Jul-11 22:31 
AnswerRe: Problems with structures Pin
Rajesh R Subramanian22-Jul-11 22:37
professionalRajesh R Subramanian22-Jul-11 22:37 
GeneralRe: Problems with structures Pin
rahul.kulshreshtha22-Jul-11 23:05
rahul.kulshreshtha22-Jul-11 23:05 
GeneralRe: Problems with structures Pin
rahul.kulshreshtha22-Jul-11 23:13
rahul.kulshreshtha22-Jul-11 23:13 
AnswerRe: Problems with structures Pin
John R. Shaw23-Jul-11 8:47
John R. Shaw23-Jul-11 8:47 
QuestionHow can CString be converted to LPCTSTR without any operator()? Pin
Dean Seo22-Jul-11 18:09
Dean Seo22-Jul-11 18:09 
AnswerRe: How can CString be converted to LPCTSTR without any operator()? Pin
Rajesh R Subramanian22-Jul-11 22:06
professionalRajesh R Subramanian22-Jul-11 22:06 
GeneralRe: How can CString be converted to LPCTSTR without any operator()? Pin
Mark Salsbery23-Jul-11 7:20
Mark Salsbery23-Jul-11 7:20 
GeneralRe: How can CString be converted to LPCTSTR without any operator()? Pin
Rajesh R Subramanian23-Jul-11 8:05
professionalRajesh R Subramanian23-Jul-11 8:05 
QuestionRe: How can CString be converted to LPCTSTR without any operator()? Pin
Dean Seo24-Jul-11 3:10
Dean Seo24-Jul-11 3:10 
AnswerRe: How can CString be converted to LPCTSTR without any operator()? Pin
Rajesh R Subramanian24-Jul-11 4:20
professionalRajesh R Subramanian24-Jul-11 4:20 
GeneralRe: How can CString be converted to LPCTSTR without any operator()? Pin
Dean Seo25-Jul-11 17:44
Dean Seo25-Jul-11 17:44 
QuestionAfxGetMainWnd() equals to AfxGetMainWnd ? Pin
yu-jian21-Jul-11 17:24
yu-jian21-Jul-11 17:24 
AnswerRe: AfxGetMainWnd() equals to AfxGetMainWnd ? Pin
Mark Salsbery21-Jul-11 18:06
Mark Salsbery21-Jul-11 18:06 
GeneralRe: AfxGetMainWnd() equals to AfxGetMainWnd ? Pin
yu-jian25-Jul-11 5:16
yu-jian25-Jul-11 5:16 
AnswerRe: AfxGetMainWnd() equals to AfxGetMainWnd ? Pin
Richard MacCutchan21-Jul-11 23:05
mveRichard MacCutchan21-Jul-11 23:05 

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.