viewwing c# classes in managed code

  • Thread starter Thread starter Vladimir Scherbina Nickolaevich
  • Start date Start date
V

Vladimir Scherbina Nickolaevich

hello all, i have a problem connected with resolving names (in managed code)
of a classes, wrriten in c#.

for instance, if a I have an assembly named AAA, and a class named BBB, i
cannot see BBB when I write in managed code AAA::, and even if I write

AAA::BBB *c = new AAA::BBB();
i get an error C2039 - BBB is not member of AAA...

what wrong ?
 
Vladimir,
hello all, i have a problem connected with resolving names (in managed code)
of a classes, wrriten in c#.

for instance, if a I have an assembly named AAA, and a class named BBB, i
cannot see BBB when I write in managed code AAA::, and even if I write

AAA::BBB *c = new AAA::BBB();
i get an error C2039 - BBB is not member of AAA...

Well, you're saying your assembly is named AAA... but what namespace is BBB
in? (hint, it doesn't need to match the name of the assembly... they are two
different things).

Oh, and btw, you are #using AAA.dll, right?
 
Back
Top