Click to See Complete Forum and Search --> : :: Prototyping a Derived Class ::


MooNull
August 4th, 2003, 04:10 PM
Here is a *fun* problem:

How do you prototype a derived class?

To add some code to the situation:

This is what I want to do:


namespace ManagedConsoleXPControls
{
public __gc __abstract class ConsoleControlBase : public CollectionBase;
}


However, good 'ol VS 2003 gives me a nasty error:

c:\Projects\Windows Forms\Managed Console\MC - Console XP\MCXP-Prototypes.h(20): error C2143: syntax error : missing ',' before ';'

I'm quite certain that this error pertains to this single line in the code.

Does anyone have any bright ideas?