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

Managed C++/CLI

 
AnswerRe: Array of string Pin
Mark Salsbery25-Jul-07 15:20
Mark Salsbery25-Jul-07 15:20 
QuestionRe: Array of string Pin
abbd25-Jul-07 15:54
abbd25-Jul-07 15:54 
AnswerRe: Array of string Pin
Mark Salsbery25-Jul-07 16:11
Mark Salsbery25-Jul-07 16:11 
QuestionRe: Array of string Pin
abbd25-Jul-07 17:11
abbd25-Jul-07 17:11 
AnswerRe: Array of string Pin
Mark Salsbery25-Jul-07 17:15
Mark Salsbery25-Jul-07 17:15 
QuestionRe: Array of string Pin
abbd25-Jul-07 18:00
abbd25-Jul-07 18:00 
AnswerRe: Array of string Pin
Mark Salsbery25-Jul-07 18:38
Mark Salsbery25-Jul-07 18:38 
QuestionSimple dialog will not declare Pin
BuckBrown25-Jul-07 10:18
BuckBrown25-Jul-07 10:18 
These simple problems are begining to bug me. I'm using Visual Studio 2005 C++/CLI. My app does some stuff that takes long enough that I wanted to have a small dialog box appear with status information. In Visual Studio I select 'project'->Add New Item->UI->Windows Form and give it the name of "Status Dialog". This creates the "Status Dialog.h" header and the name of the class is 'ref class StatusDialog' (note no space between Status and Dialog). The "Status Dialog.h[Design] page appears with a new form. I add a label (that I plan to change progromatically) and that's it. I open the myClass.h file of the class I want to use it in and include the "Status Dialog.h" file. This all compiles fine. I add the declaration in the myClass.h file as StatusDialog^ aDlg;. This does not compile. It gives the general error of C2143: syntax error : missing ';' before '^'. The "Status Dialog.h" file is created by Visual Studio so it should be okay. Does anyone see anything wrong here. This should be simple.

#include "Status Dialog.h" // Created by Visual Studio

using namespace System;

ref class myClass
{
public:
myClass(void);

StatusDialog^ aDlg; // Remark this out, compiles OK. Leave in and I get the syntax error.
};
}

Buck
AnswerRe: Simple dialog will not declare Pin
Mark Salsbery25-Jul-07 10:23
Mark Salsbery25-Jul-07 10:23 
GeneralRe: Simple dialog will not declare Pin
BuckBrown25-Jul-07 11:57
BuckBrown25-Jul-07 11:57 
GeneralRe: Simple dialog will not declare Pin
Mark Salsbery25-Jul-07 12:06
Mark Salsbery25-Jul-07 12:06 
GeneralRe: Simple dialog will not declare Pin
BuckBrown25-Jul-07 12:11
BuckBrown25-Jul-07 12:11 
QuestionWeird character in COM port list when compiled in Vista Pin
TheCat00725-Jul-07 6:26
TheCat00725-Jul-07 6:26 
AnswerRe: Weird character in COM port list when compiled in Vista Pin
Luc Pattyn25-Jul-07 8:14
sitebuilderLuc Pattyn25-Jul-07 8:14 
QuestionHaving problems with an array of objects Pin
BuckBrown24-Jul-07 7:27
BuckBrown24-Jul-07 7:27 
AnswerRe: Having problems with an array of objects Pin
BuckBrown24-Jul-07 7:31
BuckBrown24-Jul-07 7:31 
GeneralRe: Having problems with an array of objects Pin
BuckBrown24-Jul-07 7:33
BuckBrown24-Jul-07 7:33 
GeneralRe: Having problems with an array of objects Pin
Luc Pattyn24-Jul-07 7:57
sitebuilderLuc Pattyn24-Jul-07 7:57 
GeneralRe: Having problems with an array of objects Pin
BuckBrown24-Jul-07 9:45
BuckBrown24-Jul-07 9:45 
GeneralRe: Having problems with an array of objects Pin
Luc Pattyn24-Jul-07 11:52
sitebuilderLuc Pattyn24-Jul-07 11:52 
GeneralRe: Having problems with an array of objects Pin
Mark Salsbery24-Jul-07 12:01
Mark Salsbery24-Jul-07 12:01 
GeneralRe: Having problems with an array of objects Pin
Luc Pattyn24-Jul-07 13:51
sitebuilderLuc Pattyn24-Jul-07 13:51 
GeneralRe: Having problems with an array of objects Pin
Mark Salsbery24-Jul-07 13:59
Mark Salsbery24-Jul-07 13:59 
GeneralRe: Having problems with an array of objects Pin
Luc Pattyn24-Jul-07 14:46
sitebuilderLuc Pattyn24-Jul-07 14:46 
GeneralRe: Having problems with an array of objects Pin
Paul Conrad24-Jul-07 15:27
professionalPaul Conrad24-Jul-07 15:27 

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.