23 Oct
2012
23 Oct
'12
9:54 p.m.
I split my test program up from 1 .cpp file into proper headers and implementation files.... (we'll fight the fight with dlls next)
I now get a unregisted_class exception when I do this: (MSVC 11.0, windows7, win32 compile)
int main(int argc, char* argv[])
{
const ABase* a = new ABase("I'm cool");
const ABase* c = new C(*a,54.2f);
cout <<*a<<"\n"<<*((C*)c)<