Click here to Skip to main content
15,922,407 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: C++ reading out memory specs Pin
Michael Schubert24-Mar-09 6:28
Michael Schubert24-Mar-09 6:28 
GeneralRe: C++ reading out memory specs Pin
David Crow24-Mar-09 6:39
David Crow24-Mar-09 6:39 
AnswerRe: C++ reading out memory specs Pin
Iain Clarke, Warrior Programmer24-Mar-09 8:39
Iain Clarke, Warrior Programmer24-Mar-09 8:39 
GeneralRe: C++ reading out memory specs Pin
Fatbuddha 126-Mar-09 22:52
Fatbuddha 126-Mar-09 22:52 
Questionsegmentation fault en strcat() Pin
sankariyo24-Mar-09 4:58
sankariyo24-Mar-09 4:58 
AnswerRe: segmentation fault en strcat() Pin
Code-o-mat24-Mar-09 5:17
Code-o-mat24-Mar-09 5:17 
GeneralRe: segmentation fault en strcat() Pin
sankariyo24-Mar-09 22:26
sankariyo24-Mar-09 22:26 
GeneralRe: segmentation fault en strcat() Pin
Code-o-mat24-Mar-09 23:04
Code-o-mat24-Mar-09 23:04 
AnswerRe: segmentation fault en strcat() Pin
Michael Schubert24-Mar-09 5:37
Michael Schubert24-Mar-09 5:37 
GeneralRe: segmentation fault en strcat() Pin
sankariyo24-Mar-09 22:39
sankariyo24-Mar-09 22:39 
QuestionRe: segmentation fault en strcat() Pin
David Crow24-Mar-09 6:20
David Crow24-Mar-09 6:20 
AnswerRe: segmentation fault en strcat() Pin
CPallini24-Mar-09 7:09
mveCPallini24-Mar-09 7:09 
GeneralRe: segmentation fault en strcat() Pin
David Crow24-Mar-09 7:14
David Crow24-Mar-09 7:14 
GeneralRe: segmentation fault en strcat() Pin
CPallini24-Mar-09 7:25
mveCPallini24-Mar-09 7:25 
GeneralRe: segmentation fault en strcat() Pin
sankariyo24-Mar-09 22:42
sankariyo24-Mar-09 22:42 
GeneralRe: segmentation fault en strcat() Pin
CPallini24-Mar-09 22:48
mveCPallini24-Mar-09 22:48 
AnswerRe: segmentation fault en strcat() Pin
SrivathsanRaghavan11-Dec-12 19:37
SrivathsanRaghavan11-Dec-12 19:37 
QuestionCRunTimeClass with parameters Pin
prithaa24-Mar-09 4:20
prithaa24-Mar-09 4:20 
AnswerRe: CRunTimeClass with parameters Pin
Akt_4_U24-Mar-09 6:12
Akt_4_U24-Mar-09 6:12 
GeneralRe: CRunTimeClass with parameters Pin
prithaa24-Mar-09 6:23
prithaa24-Mar-09 6:23 
QuestionForm Circular Reference? Pin
thenutz7224-Mar-09 4:00
thenutz7224-Mar-09 4:00 
Hey, I am trying to open form2 from form1. Then open a new form1 when form 2 is closed. But adding the #include "Form1.h" header to form2.h is causing errors (undeclared identifier). I added these inclusion guards and tried using forward declaration. EIther that didn't work or I used it wrong because these are the automatically generated code for Forms in the .h file.

/*Form1.h*/
#pragma once
#ifndef First
#define First
#include "Form2.h"

private: System::Void button1_Click(System::Object^ sender, System::EventArgs^ e) {

Form2 ^ frm = gcnew Form2;
frm->Show();
this->Close();
}
#endif

/*Form2.h*/
#pragma once
#ifndef Second
#define Second
#include "Form1.h"

private: System::Void button1_Click(System::Object^ sender, System::EventArgs^ e) {

Form1 ^ frm = gcnew Form1;
frm->Show();
this->Close();
}
#endif
AnswerRe: Form Circular Reference? Pin
Cedric Moonen24-Mar-09 4:23
Cedric Moonen24-Mar-09 4:23 
AnswerRe: Form Circular Reference? Pin
Iain Clarke, Warrior Programmer24-Mar-09 8:47
Iain Clarke, Warrior Programmer24-Mar-09 8:47 
Questionbitmap in combobox Pin
Rakesh524-Mar-09 3:28
Rakesh524-Mar-09 3:28 
AnswerRe: bitmap in combobox Pin
Iain Clarke, Warrior Programmer24-Mar-09 3:51
Iain Clarke, Warrior Programmer24-Mar-09 3:51 

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.