Accessing different object models from a managed application

By Philippe Leefsma

Can I access C++ or COM object models from a .NET managed application?

Solution

Yes, you can use 3 object models simultaneously:  You can use the new .NET object model of AutoCAD, the COM object model (via COM interop) or the C++ object model (via P/Invoke). The attached sample shows how.


Comments

3 responses to “Accessing different object models from a managed application”

  1. petcon Avatar
    petcon

    cool.
    kean blog post the similar long ago about p/invoke.
    .net use arx function that is AWASOME

  2. petcon Avatar
    petcon

    use this magic tool!!
    http://daffodil.codeplex.com/

  3. petcon Avatar
    petcon

    sorry wrong comment

Leave a Reply to petconCancel reply

Discover more from Autodesk Developer Blog

Subscribe now to keep reading and get access to the full archive.

Continue reading