المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : Loading or creating a Application depending on different versions



C# Programming
09-14-2009, 03:51 AM
hi

i want to develop my project independent of versions

for example

i m generating drawings in AutoCad in c#

this task should work for any versions of AutoCad Application for example Autocad 2004,2006,2008,2010

to create a auto cad application object
i m using

AcadApplication AcadApp = new AcadApplication();
AcadApp = CreateObject("AutoCAD.Application");

while creating can i create a application of a particular version

is this possible

is this DLL Hell problem

i know that .net supports solves versioning problem

then how can i solve this type of problem...

does the only solutions is to leave it to o/s

plz can any one solve it

thanking you in advance
vijay kumar d