when I compile my program I get "fatal error C1506: unrecoverable block
scoping error". Can anyone tell me why? Thank you very much in advance.
namespace unManaged
{
template<class L>
class Mytemplate : public myUnManagedClassA
{
};
__nogc class A : public OD_myUnManagedClassB
{
};
__nogc class B : public ODN_Mytemplate<A>
{
};
}
Stormy - 26 May 2005 16:42 GMT
Sorry, following is my code......
namespace unManaged
{
template<class L>
class Mytemplate : public myUnManagedClassA
{
};
__nogc class A : public myUnManagedClassB
{
};
__nogc class B : public Mytemplate<A>
{
}
}
ismailp - 27 May 2005 02:03 GMT
there is no semicolon after B's declaration.
this should work fine. what about myUnmanagedClassA and
myUnmanagedClassB? are they proper?
Ismail