ObjectARX
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

can not compile ARX's example "BlockView" with OjbectARX2010

2 REPLIES 2
SOLVED
Reply
Message 1 of 3
421232206
565 Views, 2 Replies

can not compile ARX's example "BlockView" with OjbectARX2010

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.

 

Technology change world! Coding change technology! We coders are coding!
2 REPLIES 2
Message 2 of 3
owenwengerd
in reply to: 421232206

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).

--
Owen Wengerd
ManuSoft
Message 3 of 3
421232206
in reply to: owenwengerd

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.

Technology change world! Coding change technology! We coders are coding!

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost