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

Managed C++/CLI

 
Questionhow to manage a multithread programm Pin
medlar26-May-05 15:40
medlar26-May-05 15:40 
AnswerRe: how to manage a multithread programm Pin
Christian Graus26-May-05 16:03
protectorChristian Graus26-May-05 16:03 
GeneralRe: how to manage a multithread programm Pin
ascap28-May-05 3:37
ascap28-May-05 3:37 
GeneralEvent Handle Pin
Saksida Bojan25-May-05 20:38
Saksida Bojan25-May-05 20:38 
Generalswitching between panels Pin
richiemac24-May-05 23:16
richiemac24-May-05 23:16 
GeneralRe: switching between panels Pin
toxcct24-May-05 23:28
toxcct24-May-05 23:28 
GeneralToolbar icons not working Pin
jain anant24-May-05 22:41
jain anant24-May-05 22:41 
GeneralA __gc problemo Pin
Fernando A. Gomez F.24-May-05 13:32
Fernando A. Gomez F.24-May-05 13:32 
Hello there,

I'm doing a class library in C++.NET, and I declared two classes, A and b,
as follows:

public __gc class B;
public __gc class A : public baseA
{
private:
B *entrada;
B *salida;
};
public __gc class B : public baseB
{
private:
A **entrantes;
A **salientes;
};


However, while compiling I get the following error:

error C3160: 'entrantes' : cannot declare interior __gc pointer or reference
as a member of 'espacio_nombres::B'
error C3160: 'salientes' : cannot declare interior __gc pointer or reference
as a member of 'espacio_nombres::B'

Why this error happens? What can I do about it?

I mean, I already read the MSDN documentation on such error, but as far as I
understood, it says that a __gc class cannot have as member a pointer to
another __gc class. This sounds rather absurd to me, that's why I'm posting
this message. Hope someone can either confirm that what I understood was
right (and then I'll throw C++NET to the trash), or explain me the reason of
such error.

Thanks for any thought,
KK.

One day you'll find
that I have gone,
for tomorrow may rain, so
I'll follow the sun...
GeneralRe: A __gc problemo Pin
ursus zeta28-May-05 7:44
ursus zeta28-May-05 7:44 
QuestionHow do I call a managed dll method from an unmanaged dll method? Pin
leweyboy24-May-05 1:21
leweyboy24-May-05 1:21 
AnswerRe: How do I call a managed dll method from an unmanaged dll method? Pin
Anonymous24-May-05 12:29
Anonymous24-May-05 12:29 
GeneralRe: How do I call a managed dll method from an unmanaged dll method? Pin
geekisi7724-Jul-05 18:55
geekisi7724-Jul-05 18:55 
Generalbools to bits Pin
richiemac23-May-05 23:58
richiemac23-May-05 23:58 
GeneralRe: bools to bits Pin
toxcct24-May-05 1:21
toxcct24-May-05 1:21 
GeneralRe: bools to bits Pin
richiemac24-May-05 2:05
richiemac24-May-05 2:05 
Generalxml Problem Pin
Saksida Bojan22-May-05 9:14
Saksida Bojan22-May-05 9:14 
GeneralRe: xml Problem Pin
Christian Graus22-May-05 12:58
protectorChristian Graus22-May-05 12:58 
GeneralRe: xml Problem Pin
Saksida Bojan22-May-05 20:38
Saksida Bojan22-May-05 20:38 
GeneralRe: xml Problem Pin
Christian Graus23-May-05 1:18
protectorChristian Graus23-May-05 1:18 
GeneralRe: xml Problem Pin
Saksida Bojan24-May-05 20:07
Saksida Bojan24-May-05 20:07 
GeneralRe: xml Problem Pin
Christian Graus25-May-05 12:42
protectorChristian Graus25-May-05 12:42 
GeneralRe: xml Problem Pin
Saksida Bojan25-May-05 20:36
Saksida Bojan25-May-05 20:36 
Generalxml Problem Pin
Saksida Bojan22-May-05 9:05
Saksida Bojan22-May-05 9:05 
GeneralRe: xml Problem Pin
Shog923-May-05 12:29
sitebuilderShog923-May-05 12:29 
QuestionTextBox->ResetText () question??? Pin
richiemac20-May-05 1:12
richiemac20-May-05 1:12 

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.