F
Flare
Hi I have this..
class BaseUnit;
....
class ResizeBorder : Shape
....
class Shape : BaseUnit
{
ResizeBorder a = new ResizeBorder();
}
(The classes offcourse has implementations)
When i do this i get a stackOverFlowException.
If ResizeBorder dosent inherit from shape it works perfeckt...Am I doing
somethíng wrong? Or is the StackOverFlow maybe caused ba something else wich
first shows when i use the above form?
Anders
class BaseUnit;
....
class ResizeBorder : Shape
....
class Shape : BaseUnit
{
ResizeBorder a = new ResizeBorder();
}
(The classes offcourse has implementations)
When i do this i get a stackOverFlowException.
If ResizeBorder dosent inherit from shape it works perfeckt...Am I doing
somethíng wrong? Or is the StackOverFlow maybe caused ba something else wich
first shows when i use the above form?
Anders