Click here to Skip to main content
15,887,477 members
Home / Discussions / Managed C++/CLI
   

Managed C++/CLI

 
GeneralRe: Form refresh... and accept click on button while performing other task... Pin
Thilek25-Mar-09 3:29
Thilek25-Mar-09 3:29 
GeneralRe: Form refresh... and accept click on button while performing other task... Pin
Thilek25-Mar-09 4:04
Thilek25-Mar-09 4:04 
GeneralRe: Form refresh... and accept click on button while performing other task... [modified] Pin
erfi25-Mar-09 11:21
erfi25-Mar-09 11:21 
QuestionProblem calling C++ DLL from Excel Pin
gvanto24-Mar-09 16:12
gvanto24-Mar-09 16:12 
QuestionDebug Assertion failed error while using an mfc dll via import library in an managed console application Pin
Muhammad.Ahmad.Malik24-Mar-09 10:02
professionalMuhammad.Ahmad.Malik24-Mar-09 10:02 
QuestionRe: Debug Assertion failed error while using an mfc dll via import library in an managed console application Pin
paxal31-Mar-09 4:02
paxal31-Mar-09 4:02 
AnswerRe: Debug Assertion failed error while using an mfc dll via import library in an managed console application Pin
Muhammad.Ahmad.Malik31-Mar-09 6:55
professionalMuhammad.Ahmad.Malik31-Mar-09 6:55 
QuestionCircular Form Reference Pin
thenutz7224-Mar-09 4:28
thenutz7224-Mar-09 4:28 
Hey, I am trying to open form2 from form1. Then open a new form1 when form2 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, not sure I followed the correct syntax since all of the code is in the header files - the automatically generated code for Forms and controls.

/*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: Circular Form Reference [modified] Pin
led mike24-Mar-09 5:20
led mike24-Mar-09 5:20 
GeneralRe: Circular Form Reference Pin
thenutz7224-Mar-09 5:47
thenutz7224-Mar-09 5:47 
GeneralRe: Circular Form Reference Pin
led mike24-Mar-09 7:07
led mike24-Mar-09 7:07 
GeneralRe: Circular Form Reference Pin
thenutz7224-Mar-09 7:10
thenutz7224-Mar-09 7:10 
GeneralRe: Circular Form Reference Pin
led mike24-Mar-09 7:12
led mike24-Mar-09 7:12 
GeneralRe: Circular Form Reference Pin
Trollslayer4-May-09 4:26
mentorTrollslayer4-May-09 4:26 
AnswerRe: Circular Form Reference Pin
erfi25-Mar-09 1:47
erfi25-Mar-09 1:47 
QuestionCannot load 64bit CLI/C++ dll in C# project when running in Vista 64bit, .NET 3.5 Pin
ndkit24-Mar-09 3:40
ndkit24-Mar-09 3:40 
AnswerRe: Cannot load 64bit CLI/C++ dll in C# project when running in Vista 64bit, .NET 3.5 Pin
ndkit24-Mar-09 18:10
ndkit24-Mar-09 18:10 
QuestionHow to write an event handler which will be continiously looking for existence of a file Pin
naveen_bij24-Mar-09 2:25
naveen_bij24-Mar-09 2:25 
AnswerRe: How to write an event handler which will be continiously looking for existence of a file Pin
Giorgi Dalakishvili24-Mar-09 2:34
mentorGiorgi Dalakishvili24-Mar-09 2:34 
QuestionCross reference between classes Pin
Sci_fie24-Mar-09 2:17
Sci_fie24-Mar-09 2:17 
AnswerRe: Cross reference between classes Pin
N a v a n e e t h24-Mar-09 3:30
N a v a n e e t h24-Mar-09 3:30 
GeneralRe: Cross reference between classes Pin
Sci_fie24-Mar-09 4:10
Sci_fie24-Mar-09 4:10 
QuestionRe: Cross reference between classes [modified] Pin
thenutz7224-Mar-09 6:56
thenutz7224-Mar-09 6:56 
AnswerRe: Cross reference between classes Pin
Mark Salsbery24-Mar-09 7:44
Mark Salsbery24-Mar-09 7:44 
AnswerRe: Cross reference between classes Pin
Sci_fie24-Mar-09 7:56
Sci_fie24-Mar-09 7:56 

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.