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

UnManaged OR Managed ARX!!!

8 REPLIES 8
Reply
Message 1 of 9
Anonymous
407 Views, 8 Replies

UnManaged OR Managed ARX!!!

Last time I wrote something in ARX - 3 years back... Now I've to write some
program in ARX (ObjectARX 2007)... What should I use - UnManaged or
Managed - Managed is new to me... Can I use everything (reactors, custom
entities etc) in ManagedARX?

Regards
-Partha
8 REPLIES 8
Message 2 of 9
Anonymous
in reply to: Anonymous

No custom entities, Not all reactors (many are not
exposed), and there are still quite a few things that
aren't exposed to the managed world.

If you go managed, make sure that you deploy your
managed DLLs in the same folder where acad.exe is,
or they may fail.


--
http://www.caddzone.com

AcadXTabs: MDI Document Tabs for AutoCAD 2008
Supporting AutoCAD 2000 through 2008
http://www.acadxtabs.com

"Partha" wrote in message news:5634983@discussion.autodesk.com...
Last time I wrote something in ARX - 3 years back... Now I've to write some
program in ARX (ObjectARX 2007)... What should I use - UnManaged or
Managed - Managed is new to me... Can I use everything (reactors, custom
entities etc) in ManagedARX?

Regards
-Partha
Message 3 of 9
Anonymous
in reply to: Anonymous

Hi Tony,

>>>If you go managed, make sure that you deploy your
managed DLLs in the same folder where acad.exe is,
or they may fail.

Surprising, What kind of failure? Can you through more light on this?

-Kailas Dhage

"Tony Tanzillo" wrote in message
news:5635937@discussion.autodesk.com...
No custom entities, Not all reactors (many are not
exposed), and there are still quite a few things that
aren't exposed to the managed world.

If you go managed, make sure that you deploy your
managed DLLs in the same folder where acad.exe is,
or they may fail.


--
http://www.caddzone.com

AcadXTabs: MDI Document Tabs for AutoCAD 2008
Supporting AutoCAD 2000 through 2008
http://www.acadxtabs.com

"Partha" wrote in message
news:5634983@discussion.autodesk.com...
Last time I wrote something in ARX - 3 years back... Now I've to write some
program in ARX (ObjectARX 2007)... What should I use - UnManaged or
Managed - Managed is new to me... Can I use everything (reactors, custom
entities etc) in ManagedARX?

Regards
-Partha
Message 4 of 9
Anonymous
in reply to: Anonymous

You can see it for yourself, if you download
this:

http://www.caddzone.com/AcMgdHostDefect.zip

Unpack and build the solution, and follow
the instructions to reproduce the bug.

After doing that, move the two DLLS from the
solution to the same folder where AutoCAD is,
and repeat the steps. The problem occurs only
when the two DLLs are not located in the same
folder where acad.exe is.

--
http://www.caddzone.com

AcadXTabs: MDI Document Tabs for AutoCAD 2008
Supporting AutoCAD 2000 through 2008
http://www.acadxtabs.com

"Kailas Dhage" wrote in message news:5636104@discussion.autodesk.com...
Hi Tony,

>>>If you go managed, make sure that you deploy your
managed DLLs in the same folder where acad.exe is,
or they may fail.

Surprising, What kind of failure? Can you through more light on this?

-Kailas Dhage

"Tony Tanzillo" wrote in message
news:5635937@discussion.autodesk.com...
No custom entities, Not all reactors (many are not
exposed), and there are still quite a few things that
aren't exposed to the managed world.

If you go managed, make sure that you deploy your
managed DLLs in the same folder where acad.exe is,
or they may fail.


--
http://www.caddzone.com

AcadXTabs: MDI Document Tabs for AutoCAD 2008
Supporting AutoCAD 2000 through 2008
http://www.acadxtabs.com

"Partha" wrote in message
news:5634983@discussion.autodesk.com...
Last time I wrote something in ARX - 3 years back... Now I've to write some
program in ARX (ObjectARX 2007)... What should I use - UnManaged or
Managed - Managed is new to me... Can I use everything (reactors, custom
entities etc) in ManagedARX?

Regards
-Partha
Message 5 of 9
Anonymous
in reply to: Anonymous

Hi Tony:

Just one other question: Is it possible to create GUI in Managed & all other
things in UnManaged?

Regards
-Partha

"Tony Tanzillo" wrote in message
news:5635937@discussion.autodesk.com...
No custom entities, Not all reactors (many are not
exposed), and there are still quite a few things that
aren't exposed to the managed world.

If you go managed, make sure that you deploy your
managed DLLs in the same folder where acad.exe is,
or they may fail.


--
http://www.caddzone.com

AcadXTabs: MDI Document Tabs for AutoCAD 2008
Supporting AutoCAD 2000 through 2008
http://www.acadxtabs.com

"Partha" wrote in message
news:5634983@discussion.autodesk.com...
Last time I wrote something in ARX - 3 years back... Now I've to write some
program in ARX (ObjectARX 2007)... What should I use - UnManaged or
Managed - Managed is new to me... Can I use everything (reactors, custom
entities etc) in ManagedARX?

Regards
-Partha
Message 6 of 9
RonnieWilkins
in reply to: Anonymous

Tony,

The issue you have found is due to the way assemblies are resolved. I ran into this issue back with 2006 and trying to do runtime reflection for an OEM app. Everything works great for standalone apps but in AutoCAD Addins, the reflection system cannot find the types. This issue is not restricted to AutoCAD.

Attached is a modified extension class that shows how to fix the issue.
Ronnie Wilkins, Jr.
Message 7 of 9
Anonymous
in reply to: Anonymous

Yes. Calling unmanaged code from managed code is
fairly easy, but the opposite is a bit more difficult.

--
http://www.caddzone.com

AcadXTabs: MDI Document Tabs for AutoCAD 2008
Supporting AutoCAD 2000 through 2008
http://www.acadxtabs.com

"Partha" wrote in message news:5636820@discussion.autodesk.com...
Hi Tony:

Just one other question: Is it possible to create GUI in Managed & all other
things in UnManaged?

Regards
-Partha

"Tony Tanzillo" wrote in message
news:5635937@discussion.autodesk.com...
No custom entities, Not all reactors (many are not
exposed), and there are still quite a few things that
aren't exposed to the managed world.

If you go managed, make sure that you deploy your
managed DLLs in the same folder where acad.exe is,
or they may fail.


--
http://www.caddzone.com

AcadXTabs: MDI Document Tabs for AutoCAD 2008
Supporting AutoCAD 2000 through 2008
http://www.acadxtabs.com

"Partha" wrote in message
news:5634983@discussion.autodesk.com...
Last time I wrote something in ARX - 3 years back... Now I've to write some
program in ARX (ObjectARX 2007)... What should I use - UnManaged or
Managed - Managed is new to me... Can I use everything (reactors, custom
entities etc) in ManagedARX?

Regards
-Partha
Message 8 of 9
Anonymous
in reply to: Anonymous

Thanks, that seems to work, although it may be a bit
more overhead than I would like, as opposed to putting
the files in the AutoCAD folder.

--
http://www.caddzone.com

AcadXTabs: MDI Document Tabs for AutoCAD 2008
Supporting AutoCAD 2000 through 2008
http://www.acadxtabs.com

wrote in message news:5637073@discussion.autodesk.com...
Tony,

The issue you have found is due to the way assemblies are resolved. I ran into this issue back with 2006 and trying to do runtime reflection for an OEM app. Everything works great for standalone apps but in AutoCAD Addins, the reflection system cannot find the types. This issue is not restricted to AutoCAD.

Attached is a modified extension class that shows how to fix the issue.
Message 9 of 9
Anonymous
in reply to: Anonymous

After taking another look at your solution, I might want
to caution that using it in multiple assemblies can lead
to problems, because multiple handlers will be called in
the order they're added to the event.

--
http://www.caddzone.com

AcadXTabs: MDI Document Tabs for AutoCAD 2008
Supporting AutoCAD 2000 through 2008
http://www.acadxtabs.com

wrote in message news:5637073@discussion.autodesk.com...
Tony,

The issue you have found is due to the way assemblies are resolved. I ran into this issue back with 2006 and trying to do runtime reflection for an OEM app. Everything works great for standalone apps but in AutoCAD Addins, the reflection system cannot find the types. This issue is not restricted to AutoCAD.

Attached is a modified extension class that shows how to fix the issue.

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