I think I am still misunderstanding what you are trying to do. To export a
class (i.e. the definition of a class since that is the only thing you can
"export") is completely independent from whether you compile the DLL with
the /clr switch for all compilands, for no compilands or for a subset of all
compilands.
What you are referring to now seems to have something to do with an instance
of this class.
If you can provide a few lines of sample code, plus an illustration of what
broke in your scenario by virtue of specifying the /clr switch should make
sure I understand fully what you are trying to do.
Thanks!
Ronald
"nikola" <ni***********@mail.codecomments.com> wrote in message
news:ni***********@mail.codecomments.com...
Thanks Ronald.
Still, it does not respond completely to my questions: "how?" & "is
there a workaround?".
There might be one: the exported unmanaged class should inherit
from an unmanaged pure virtual class (technically an interface), be
created by a managed class from the same (managed, compiled with /clr)
library, and presented to the outside world as the mentioned unmanaged
interface. It is maybe a little bit "heavy", but I haven't found any
other way.
Thanks again.
Regards,
n.
--
nikola
------------------------------------------------------------------------
Posted via http://www.codecomments.com
------------------------------------------------------------------------