Click here to Skip to main content
15,896,527 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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 
Questionhow to know in a fonction of c++ if a pc use the internet to download or upload Pin
josephsaliba24-Mar-09 3:02
josephsaliba24-Mar-09 3:02 
AnswerRe: how to know in a fonction of c++ if a pc use the internet to download or upload Pin
led mike24-Mar-09 4:46
led mike24-Mar-09 4:46 
AnswerRe: how to know in a fonction of c++ if a pc use the internet to download or upload Pin
David Crow24-Mar-09 4:47
David Crow24-Mar-09 4:47 
QuestionHow to navigate between corresponding .cpp and .h file in VS2008? Pin
followait24-Mar-09 2:54
followait24-Mar-09 2:54 
AnswerRe: How to navigate between corresponding .cpp and .h file in VS2008? Pin
Sarath C24-Mar-09 3:05
Sarath C24-Mar-09 3:05 
AnswerRe: How to navigate between corresponding .cpp and .h file in VS2008? Pin
Jijo.Raj24-Mar-09 3:31
Jijo.Raj24-Mar-09 3:31 
AnswerRe: How to navigate between corresponding .cpp and .h file in VS2008? Pin
Rolf Kristensen25-Mar-09 10:33
Rolf Kristensen25-Mar-09 10:33 
QuestionDeleted File Pin
john563224-Mar-09 2:53
john563224-Mar-09 2:53 
AnswerRe: Deleted File Pin
Sarath C24-Mar-09 3:03
Sarath C24-Mar-09 3:03 
AnswerRe: Deleted File Pin
Jijo.Raj24-Mar-09 4:09
Jijo.Raj24-Mar-09 4:09 
GeneralRe: Deleted File Pin
john563225-Mar-09 1:54
john563225-Mar-09 1:54 
QuestionProblem in struct Pin
NewVC++24-Mar-09 2:40
NewVC++24-Mar-09 2:40 
AnswerRe: Problem in struct Pin
Iain Clarke, Warrior Programmer24-Mar-09 2:45
Iain Clarke, Warrior Programmer24-Mar-09 2:45 

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.