I don't tend to do this because it adds code size and reduces
performance in modules which are inherently "low-level". However,
you can use #import as normal, just be sure you don't use nonamespace
otherwise the generated structures will clash with your interface names.
You also need to add exception handling in your build options (which
also adds to code size).
>I've got an ATL DLL server with a number of objects. These objects interact
>with each other currently just great. But I'd really like the convenience
>some smart pointers, like those created by the #import directive, which
>variants, use the return value, etc. Is there any method to do this?