Click here to Skip to main content
16,006,605 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: MFC: document-view problem Pin
progDes7-Sep-07 20:02
progDes7-Sep-07 20:02 
QuestionTreeview Question Pin
simotix7-Sep-07 17:00
simotix7-Sep-07 17:00 
AnswerRe: Treeview Question Pin
Michael Dunn7-Sep-07 17:24
sitebuilderMichael Dunn7-Sep-07 17:24 
GeneralRe: Treeview Question Pin
simotix7-Sep-07 19:04
simotix7-Sep-07 19:04 
GeneralRe: Treeview Question Pin
Michael Dunn7-Sep-07 20:06
sitebuilderMichael Dunn7-Sep-07 20:06 
GeneralRe: Treeview Question Pin
simotix8-Sep-07 6:49
simotix8-Sep-07 6:49 
QuestionC question, can't free string from a struct Pin
gizmokaka7-Sep-07 15:06
gizmokaka7-Sep-07 15:06 
AnswerRe: C question, can't free string from a struct Pin
Leslie Sanford7-Sep-07 15:28
Leslie Sanford7-Sep-07 15:28 
gizmokaka wrote:
That is of course after I'm allocation memory for the colName array, and each of it's members.


Just to confirm, you are allocating memory for the pointer that points to an array of pointers, correct? Something like:

char **myArray = malloc(sizeof(char *) * 10);
int i;
 
for(i = 0; i < 10; i++)
{
    myArray[i] = malloc(sizeof(char) * 15);
}

GeneralRe: C question, can't free string from a struct Pin
gizmokaka7-Sep-07 21:51
gizmokaka7-Sep-07 21:51 
AnswerRe: C question, can't free string from a struct Pin
John R. Shaw7-Sep-07 17:30
John R. Shaw7-Sep-07 17:30 
GeneralRe: C question, can't free string from a struct Pin
gizmokaka7-Sep-07 22:01
gizmokaka7-Sep-07 22:01 
GeneralRe: C question, can't free string from a struct Pin
John R. Shaw7-Sep-07 22:34
John R. Shaw7-Sep-07 22:34 
GeneralRe: C question, can't free string from a struct Pin
gizmokaka7-Sep-07 23:05
gizmokaka7-Sep-07 23:05 
GeneralRe: C question, can't free string from a struct Pin
John R. Shaw7-Sep-07 23:42
John R. Shaw7-Sep-07 23:42 
GeneralRe: C question, can't free string from a struct Pin
Leslie Sanford7-Sep-07 22:34
Leslie Sanford7-Sep-07 22:34 
GeneralRe: C question, can't free string from a struct Pin
John R. Shaw7-Sep-07 22:54
John R. Shaw7-Sep-07 22:54 
GeneralRe: small sample of where problem ocurres. Pin
gizmokaka7-Sep-07 22:34
gizmokaka7-Sep-07 22:34 
GeneralRe: small sample of where problem ocurres. Pin
John R. Shaw7-Sep-07 22:42
John R. Shaw7-Sep-07 22:42 
GeneralRe: small sample of where problem ocurres. Pin
markkuk7-Sep-07 23:12
markkuk7-Sep-07 23:12 
GeneralRe: small sample of where problem ocurres. Pin
gizmokaka7-Sep-07 23:21
gizmokaka7-Sep-07 23:21 
GeneralRe: small sample of where problem ocurres. Pin
John R. Shaw7-Sep-07 23:24
John R. Shaw7-Sep-07 23:24 
GeneralRe: small sample of where problem ocurres. Pin
Leslie Sanford7-Sep-07 23:42
Leslie Sanford7-Sep-07 23:42 
GeneralRe: Another qestion on the same subject. Pin
gizmokaka8-Sep-07 0:20
gizmokaka8-Sep-07 0:20 
GeneralRe: small sample of where problem ocurres. Pin
Russell'7-Sep-07 23:33
Russell'7-Sep-07 23:33 
QuestionClosing a view Pin
bob169727-Sep-07 11:08
bob169727-Sep-07 11:08 

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.