Click here to Skip to main content
15,917,005 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Class CxxxxView:CFormView Pin
cy163@hotmail.com13-Dec-10 15:42
cy163@hotmail.com13-Dec-10 15:42 
GeneralRe: Class CxxxxView:CFormView Pin
«_Superman_»13-Dec-10 16:00
professional«_Superman_»13-Dec-10 16:00 
GeneralRe: Class CxxxxView:CFormView Pin
yu-jian14-Dec-10 17:56
yu-jian14-Dec-10 17:56 
GeneralRe: Class CxxxxView:CFormView Pin
cy163@hotmail.com15-Dec-10 19:51
cy163@hotmail.com15-Dec-10 19:51 
Questionhow to Read/Write to a file a structure wich contains Cstring ? Pin
timbk13-Dec-10 2:30
timbk13-Dec-10 2:30 
AnswerRe: how to Read/Write to a file a structure wich contains Cstring ? Pin
Cedric Moonen13-Dec-10 2:43
Cedric Moonen13-Dec-10 2:43 
GeneralRe: how to Read/Write to a file a structure wich contains Cstring ? Pin
timbk13-Dec-10 3:21
timbk13-Dec-10 3:21 
GeneralRe: how to Read/Write to a file a structure wich contains Cstring ? Pin
Cedric Moonen13-Dec-10 3:25
Cedric Moonen13-Dec-10 3:25 
It would be easier to provide a function to save and a function to load the structure (functions in the structure itself). These functions will save and load all members of the structure. For the CString type, you first have to save the lenght of the string then the string itself (when loading, you read the lenght and then read that many characters from the file).
Cédric Moonen
Software developer

Charting control [v3.0]
OpenGL game tutorial in C++

AnswerRe: how to Read/Write to a file a structure wich contains Cstring ? Pin
Richard MacCutchan13-Dec-10 7:19
mveRichard MacCutchan13-Dec-10 7:19 
QuestionSHFileOperation in win XP? Pin
zon_cpp12-Dec-10 19:23
zon_cpp12-Dec-10 19:23 
AnswerRe: SHFileOperation in win XP? Pin
CPallini12-Dec-10 20:59
mveCPallini12-Dec-10 20:59 
GeneralRe: SHFileOperation in win XP? Pin
zon_cpp12-Dec-10 22:24
zon_cpp12-Dec-10 22:24 
Questionsave image with annotation Pin
raju_shiva12-Dec-10 18:53
raju_shiva12-Dec-10 18:53 
AnswerRe: save image with annotation Pin
Hadi Dayvary13-Dec-10 7:02
professionalHadi Dayvary13-Dec-10 7:02 
QuestionException Pin
MsmVc12-Dec-10 18:38
MsmVc12-Dec-10 18:38 
QuestionRe: Exception Pin
CPallini12-Dec-10 21:08
mveCPallini12-Dec-10 21:08 
AnswerRe: Exception Pin
MsmVc12-Dec-10 22:22
MsmVc12-Dec-10 22:22 
QuestionRe: Exception Pin
CPallini12-Dec-10 22:30
mveCPallini12-Dec-10 22:30 
AnswerRe: Exception Pin
MsmVc12-Dec-10 22:59
MsmVc12-Dec-10 22:59 
QuestionDear buddy, I am mad, can you help me and don't drop me as sacrifice Pin
nenfa12-Dec-10 16:58
nenfa12-Dec-10 16:58 
AnswerRe: Dear buddy, I am mad, can you help me and don't drop me as sacrifice Pin
nenfa14-Dec-10 15:09
nenfa14-Dec-10 15:09 
QuestionCan not delete multiple files with ReadDirectoryChangesW Pin
ShadowUz12-Dec-10 13:30
ShadowUz12-Dec-10 13:30 
AnswerRe: Can not delete multiple files with ReadDirectoryChangesW Pin
Luc Pattyn12-Dec-10 14:12
sitebuilderLuc Pattyn12-Dec-10 14:12 
QuestionRe: Can not delete multiple files with ReadDirectoryChangesW Pin
David Crow13-Dec-10 3:16
David Crow13-Dec-10 3:16 
QuestionCreate Bitmap from mousemovement in picturebox MFC Pin
josipahutar12-Dec-10 9:48
josipahutar12-Dec-10 9:48 

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.