Click here to Skip to main content
15,880,651 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: One or many libraries? Pin
«_Superman_»12-May-09 16:31
professional«_Superman_»12-May-09 16:31 
GeneralRe: One or many libraries? Pin
Mauro Leggieri13-May-09 2:37
Mauro Leggieri13-May-09 2:37 
QuestionCreating and Deleting a New Window Pin
BobInNJ12-May-09 12:28
BobInNJ12-May-09 12:28 
AnswerRe: Creating and Deleting a New Window Pin
Mauro Leggieri12-May-09 14:57
Mauro Leggieri12-May-09 14:57 
AnswerRe: Creating and Deleting a New Window Pin
«_Superman_»12-May-09 16:35
professional«_Superman_»12-May-09 16:35 
QuestionMemory Access Violation Pin
Ben Pedersen12-May-09 10:15
Ben Pedersen12-May-09 10:15 
AnswerRe: Memory Access Violation Pin
Nemanja Trifunovic12-May-09 10:53
Nemanja Trifunovic12-May-09 10:53 
GeneralRe: Memory Access Violation Pin
Ben Pedersen12-May-09 11:18
Ben Pedersen12-May-09 11:18 
A good question - the example is doing it because there are other member functions that might want to access the object and there is no default constructor for it, so you can't easily have a member variable of the actual object type ... having a pointer is comprise solution.

However, for my useage this is not needed, and I did rewrite it with a local variable/stack allocation. Unfortunately I get exactly the same error. What I may not have noted in the original post is that I can definitely write to the file this attempts to write to, and I can access other member functions of the object, for instance a size() function, with no errors.
QuestionPlugin - Dialog Handle Control Pin
Tux`12-May-09 8:28
Tux`12-May-09 8:28 
AnswerRe: Plugin - Dialog Handle Control Pin
Stuart Dootson12-May-09 9:54
professionalStuart Dootson12-May-09 9:54 
GeneralRe: Plugin - Dialog Handle Control Pin
Tux`12-May-09 10:08
Tux`12-May-09 10:08 
QuestionUnable to install platform SDK on Vista Operating System. Pin
pandit8412-May-09 7:16
pandit8412-May-09 7:16 
QuestionRe: Unable to install platform SDK on Vista Operating System. Pin
Dustin Henry12-May-09 7:36
Dustin Henry12-May-09 7:36 
AnswerRe: Unable to install platform SDK on Vista Operating System. Pin
pandit8412-May-09 8:05
pandit8412-May-09 8:05 
QuestionUsing ADO Open( ) fucntion. Pin
vital_parsley200012-May-09 7:10
vital_parsley200012-May-09 7:10 
AnswerRe: Using ADO Open( ) fucntion. Pin
CPallini12-May-09 7:55
mveCPallini12-May-09 7:55 
QuestionCAsyncSocket ? Can I use A currently active Cdialog Pin
ForNow12-May-09 5:41
ForNow12-May-09 5:41 
AnswerRe: CAsyncSocket ? Can I use A currently active Cdialog Pin
David Crow12-May-09 6:52
David Crow12-May-09 6:52 
GeneralRe: CAsyncSocket ? Can I use A currently active Cdialog Pin
ForNow12-May-09 7:50
ForNow12-May-09 7:50 
GeneralRe: CAsyncSocket ? Can I use A currently active Cdialog Pin
David Crow12-May-09 7:58
David Crow12-May-09 7:58 
GeneralRe: CAsyncSocket ? Can I use A currently active Cdialog Pin
ForNow12-May-09 8:41
ForNow12-May-09 8:41 
GeneralRe: CAsyncSocket ? Can I use A currently active Cdialog Pin
ForNow12-May-09 8:49
ForNow12-May-09 8:49 
GeneralRe: CAsyncSocket ? Can I use A currently active Cdialog Pin
David Crow12-May-09 10:32
David Crow12-May-09 10:32 
GeneralRe: CAsyncSocket ? Can I use A currently active Cdialog Pin
ForNow12-May-09 10:58
ForNow12-May-09 10:58 
QuestionHow to use CListCtrl class ? Pin
vital_parsley200012-May-09 5:19
vital_parsley200012-May-09 5:19 

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.