Click here to Skip to main content
15,889,216 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: vzsvsd Pin
Hamid_RT6-May-07 20:33
Hamid_RT6-May-07 20:33 
GeneralRe: vzsvsd Pin
Mark Salsbery7-May-07 4:16
Mark Salsbery7-May-07 4:16 
GeneralRe: vzsvsd Pin
Hamid_RT7-May-07 9:27
Hamid_RT7-May-07 9:27 
AnswerRe: vzsvsd Pin
ThatsAlok16-May-07 19:47
ThatsAlok16-May-07 19:47 
Questionabout InterLocked functions Pin
HOW WHAT5-May-07 16:45
HOW WHAT5-May-07 16:45 
Questionneed an equivilent to CFile::Write() in MFC Pin
cy163@hotmail.com5-May-07 16:16
cy163@hotmail.com5-May-07 16:16 
AnswerRe: need an equivilent to CFile::Write() in MFC Pin
Mark Salsbery5-May-07 17:38
Mark Salsbery5-May-07 17:38 
GeneralRe: need an equivilent to CFile::Write() in MFC Pin
cy163@hotmail.com5-May-07 18:06
cy163@hotmail.com5-May-07 18:06 
Mark Salsbery,

thanks,

Yes, I am avoiding to use MFC classes.

Would you please be more detialed on how to use fstream class to implement my purpose.



Yes, i actually had problem with string item in the struct. Actually, I used char Name[20]. However, the length of the contents is varying. 20 is the max. length of the Name attribute of objects. Hence, memory was wasted by objects with a Name less than 20 characters. How to solve this problem.

Actually, I need a function in pure C++ framework to write/read the struct as a whole just as with CFile::Write() in VC.
GeneralRe: need an equivilent to CFile::Write() in MFC [modified] Pin
Mark Salsbery5-May-07 18:39
Mark Salsbery5-May-07 18:39 
QuestionCustom icon size in system tray? Pin
TragicComic5-May-07 15:01
TragicComic5-May-07 15:01 
AnswerRe: Custom icon size in system tray? Pin
Sam_c6-May-07 0:05
Sam_c6-May-07 0:05 
AnswerRe: Custom icon size in system tray? Pin
ThatsAlok16-May-07 19:43
ThatsAlok16-May-07 19:43 
QuestionFind the OS version and SP Pin
RomTibi5-May-07 9:51
RomTibi5-May-07 9:51 
AnswerRe: Find the OS version and SP Pin
PJ Arends5-May-07 10:23
professionalPJ Arends5-May-07 10:23 
GeneralRe: Find the OS version and SP Pin
RomTibi5-May-07 19:42
RomTibi5-May-07 19:42 
AnswerRe: Find the OS version and SP Pin
Rajesh R Subramanian5-May-07 10:26
professionalRajesh R Subramanian5-May-07 10:26 
GeneralRe: Find the OS version and SP Pin
RomTibi5-May-07 19:42
RomTibi5-May-07 19:42 
AnswerRe: Find the OS version and SP Pin
Sam_c5-May-07 11:41
Sam_c5-May-07 11:41 
GeneralRe: Find the OS version and SP Pin
RomTibi5-May-07 19:44
RomTibi5-May-07 19:44 
GeneralRe: Find the OS version and SP Pin
ThatsAlok16-May-07 19:42
ThatsAlok16-May-07 19:42 
QuestionClass+WNDPROC Pin
shaderx5-May-07 9:13
shaderx5-May-07 9:13 
AnswerRe: Class+WNDPROC Pin
Mark Salsbery5-May-07 9:18
Mark Salsbery5-May-07 9:18 
GeneralRe: Class+WNDPROC Pin
shaderx5-May-07 11:14
shaderx5-May-07 11:14 
GeneralRe: Class+WNDPROC Pin
Michael Dunn5-May-07 12:33
sitebuilderMichael Dunn5-May-07 12:33 
GeneralRe: Class+WNDPROC Pin
ThatsAlok16-May-07 19:42
ThatsAlok16-May-07 19:42 

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.