Click here to Skip to main content
16,007,277 members
Home / Discussions / Managed C++/CLI
   

Managed C++/CLI

 
QuestionSimple dialog will not declare Pin
BuckBrown25-Jul-07 10:18
BuckBrown25-Jul-07 10:18 
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 
Hi, I am using Visual Studio 2005 C++/CLI. I have a class that includes a structure or nested class that has an array within it. I am having problems getting the definition right. A simple example is...

ref class CWafer
{
public:
CWafer(void);

value class CCoordinate
{
public:
int nXcoord;
int nYcoord;
int nBin;
int nType;
array<int>^ nIndex;
array<int>^ nByte;
};

I need to create a two dimensional array so further down in the class definition I have declared...

array<ccoordinate, 2="">^ OriginalData;

And in the constructor of the wafer class I have the line...

OriginalData = gcnew array<ccoordinate, 2="">(1000, 1000);

I can then access the integers in the nested class, but I cant figure out the correct way to define the arrays named nIndex and nByte. When I try to access these the debugger shows them as being undefined. Can someone provide me with a link to some decent documentation on how to use multidimensional CLI arrays and arrays of classes. I could change this from a nested class to a struct but I think I will have the same problem.

Thanks




Buck
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 
GeneralRe: Having problems with an array of objects Pin
Paul Conrad25-Jul-07 15:49
professionalPaul Conrad25-Jul-07 15:49 
GeneralRe: Having problems with an array of objects Pin
Mark Salsbery25-Jul-07 15:55
Mark Salsbery25-Jul-07 15:55 
GeneralRe: Having problems with an array of objects Pin
Paul Conrad25-Jul-07 15:59
professionalPaul Conrad25-Jul-07 15:59 
GeneralRe: Having problems with an array of objects Pin
Mark Salsbery24-Jul-07 14:07
Mark Salsbery24-Jul-07 14:07 
GeneralRe: Having problems with an array of objects Pin
Luc Pattyn24-Jul-07 14:53
sitebuilderLuc Pattyn24-Jul-07 14:53 
GeneralRe: Having problems with an array of objects Pin
George L. Jackson24-Jul-07 15:11
George L. Jackson24-Jul-07 15:11 
GeneralRe: Having problems with an array of objects Pin
Mark Salsbery24-Jul-07 15:18
Mark Salsbery24-Jul-07 15:18 

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.