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

ReBuild a project for newer version

2 REPLIES 2
SOLVED
Reply
Message 1 of 3
truss_85
483 Views, 2 Replies

ReBuild a project for newer version

Hi All,

 

I have a program which had compiled for acad 2010 and windows XP x86. I want to rebuild for acad 2014 and win7-8 x64. I did import 2014's dll (AcMgd.dll, AcDbMgd.dll, AcCui.dll, AcCoreMgd.dll) and built. There is no errors. But when I wantted to run one of my commands it gives an error. I attached the error message. what am I doing wrong?

 

Any help will be greatly appreciated.

 

2 REPLIES 2
Message 2 of 3
norman.yuan
in reply to: truss_85

The error message, as it appears, looks like it has nothing to do with upgrading to AutoCAD2015. Rather, it seems that your code tries to set an entity's layer to a layer that does not exist (hence the "key not found" error). Have you debugged your code to see what layer name is used in that line of code and verified that layer's existence?

 

Message 3 of 3
truss_85
in reply to: norman.yuan

Thank you very much.

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

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report

”Boost