Click here to Skip to main content
15,885,910 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: C program to start before windows boot Pin
Randor 24-Jul-11 1:04
professional Randor 24-Jul-11 1:04 
GeneralRe: C program to start before windows boot Pin
ayandelhi24-Jul-11 1:10
ayandelhi24-Jul-11 1:10 
AnswerRe: C program to start before windows boot Pin
Stefan_Lang24-Jul-11 23:14
Stefan_Lang24-Jul-11 23:14 
GeneralRe: C program to start before windows boot Pin
ayandelhi25-Jul-11 1:02
ayandelhi25-Jul-11 1:02 
AnswerRe: C program to start before windows boot Pin
cmk25-Jul-11 8:44
cmk25-Jul-11 8:44 
AnswerRe: C program to start before windows boot Pin
Ni740826-Jul-11 2:01
Ni740826-Jul-11 2:01 
GeneralRe: C program to start before windows boot Pin
ayandelhi26-Jul-11 3:24
ayandelhi26-Jul-11 3:24 
QuestionProblems with structures Pin
rahul.kulshreshtha22-Jul-11 20:45
rahul.kulshreshtha22-Jul-11 20: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 21:04
professionalRajesh R Subramanian22-Jul-11 21:04 
AnswerRe: Problems with structures Pin
rahul.kulshreshtha22-Jul-11 21:31
rahul.kulshreshtha22-Jul-11 21:31 
AnswerRe: Problems with structures Pin
Rajesh R Subramanian22-Jul-11 21:37
professionalRajesh R Subramanian22-Jul-11 21:37 
GeneralRe: Problems with structures Pin
rahul.kulshreshtha22-Jul-11 22:05
rahul.kulshreshtha22-Jul-11 22:05 
GeneralRe: Problems with structures Pin
rahul.kulshreshtha22-Jul-11 22:13
rahul.kulshreshtha22-Jul-11 22:13 
AnswerRe: Problems with structures Pin
John R. Shaw23-Jul-11 7:47
John R. Shaw23-Jul-11 7:47 
QuestionHow can CString be converted to LPCTSTR without any operator()? Pin
Dean Seo22-Jul-11 17:09
Dean Seo22-Jul-11 17:09 
AnswerRe: How can CString be converted to LPCTSTR without any operator()? Pin
Rajesh R Subramanian22-Jul-11 21:06
professionalRajesh R Subramanian22-Jul-11 21:06 
GeneralRe: How can CString be converted to LPCTSTR without any operator()? Pin
Mark Salsbery23-Jul-11 6:20
Mark Salsbery23-Jul-11 6:20 
GeneralRe: How can CString be converted to LPCTSTR without any operator()? Pin
Rajesh R Subramanian23-Jul-11 7:05
professionalRajesh R Subramanian23-Jul-11 7:05 
QuestionRe: How can CString be converted to LPCTSTR without any operator()? Pin
Dean Seo24-Jul-11 2:10
Dean Seo24-Jul-11 2:10 
AnswerRe: How can CString be converted to LPCTSTR without any operator()? Pin
Rajesh R Subramanian24-Jul-11 3:20
professionalRajesh R Subramanian24-Jul-11 3:20 
GeneralRe: How can CString be converted to LPCTSTR without any operator()? Pin
Dean Seo25-Jul-11 16:44
Dean Seo25-Jul-11 16:44 
QuestionAfxGetMainWnd() equals to AfxGetMainWnd ? Pin
yu-jian21-Jul-11 16:24
yu-jian21-Jul-11 16:24 
AnswerRe: AfxGetMainWnd() equals to AfxGetMainWnd ? Pin
Mark Salsbery21-Jul-11 17:06
Mark Salsbery21-Jul-11 17:06 
GeneralRe: AfxGetMainWnd() equals to AfxGetMainWnd ? Pin
yu-jian25-Jul-11 4:16
yu-jian25-Jul-11 4:16 
AnswerRe: AfxGetMainWnd() equals to AfxGetMainWnd ? Pin
Richard MacCutchan21-Jul-11 22:05
mveRichard MacCutchan21-Jul-11 22: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.