First-chance exception at 0x77e989d1 in Plasma.exe: Microsoft C++ exception: __non_rtti_object @ 0x0012f924.
Unhandled exception at 0x77e989d1 in Plasma.exe: Microsoft C++ exception: __non_rtti_object @ 0x0012f924.
Now since RTTI is provided by IMPLEMENT_DYNAMIC, and the documentation clearly states that IMPLEMENT_DYNCREATE has all DYNAMIC's functionality, why is it complaining about a non RTTI object? Since I know in this instance it can be downcast, I could just do it anyway, but I consider casts an area to take care with, especially since the number of document types could be increased, in which case this cast may not be true (hence the next step after casting is to see if 'doc == NULL').
Yours,
A Ratclife
"A Ratcliffe" <aratc...@archimagic.co.uk> wrote in message news:#8gCAZ4JCHA.2620@tkmsftngp13...
While the two may work interchangeably for 99% of the cases, I would be
loathe to use it except on my own data types in fear of being bit by that
finge condition and losing a week of sleep to a silly bug. But then that's
just me :)
J
A Ratcliffe" <aratc...@archimagic.co.uk> wrote in message
news:#eJastyKCHA.2052@tkmsftngp10...
"A Ratcliffe" <aratc...@archimagic.co.uk> wrote in message news:#eJastyKCHA.2052@tkmsftngp10...