Raven Darque
Newcomer
I should warn you that I'm failing miserably at learning MC++. )
This must be simple, but I'm totally stumped. All I'm trying to do is create two _gc classes and use one in the other. I put one class in the default header file created by VS.NET (it's a .NET Class Library project), then I created another cpp and associated header file and put the second class in the new header file - the way I would normally work in C# (my 'native' language). Now, when I try to create an instance of the second class in the first, I get a compiler error:
error C2061: syntax error : identifier 'MyClassName'
I tried to include the full namespace ('explicit is good' I'm told) but then I get the following compiler error:
error C2039: 'Retriever' : is not a member of 'Odyssey'
Both the tooltip and intellisense seem to concur that the class is the right one and can be found, but the compiler doesn't agree. What am I doing wrong?
This must be simple, but I'm totally stumped. All I'm trying to do is create two _gc classes and use one in the other. I put one class in the default header file created by VS.NET (it's a .NET Class Library project), then I created another cpp and associated header file and put the second class in the new header file - the way I would normally work in C# (my 'native' language). Now, when I try to create an instance of the second class in the first, I get a compiler error:
error C2061: syntax error : identifier 'MyClassName'
I tried to include the full namespace ('explicit is good' I'm told) but then I get the following compiler error:
error C2039: 'Retriever' : is not a member of 'Odyssey'
Both the tooltip and intellisense seem to concur that the class is the right one and can be found, but the compiler doesn't agree. What am I doing wrong?