there is an example called "BlockView" in OjbectARX2008's SDK. it is in the directory "ObjectARX 2008\samples\graphics\BlockView",
it can be compiled and worked well.
but in ARX2010,i can't find this example, and when I tried to compile it with ARX2010 in VS2008, there were errors :
error C2259: 'OrbitGadget' : cannot instantiate abstract class
error C3248: 'AcGiDrawable::worldDraw': function declared as 'sealed' cannot be overridden by 'OrbitGadget::worldDraw'
can anyone help me solve this problem?
it seems that OjbectARX2010 dose not want users to inherit from class AcGiDrawable, but ARX2008 supports this.
Solved! Go to Solution.
You'll need to update the code for ObjectARX 2010, but it should work fine once it is updated. It may help to review changes listed in the ObjectARX 2010 migration guide (docs\arxmg.chm).
thanks a lot, i have solved the problem with your advice. the chm helps.
thank you again.
the way is to replace the methods with sub<Old method name> methods provided.