What is the best case for accessing managed code from unmanaged code?

B

Bae,Hyun-jik

Hi,

What is the best case for accessing managed code from unmanaged C++ code,
considering that the unmanaged code doesn't have managed extension?

Please reply.
Thanks in advance.

Regards,
Hyun-jik Bae
 
M

Marcus Heege

In addition to that, you can also use pointers to managed functions with
unmanaged calling conventions.

A standard case of this is virtual functions of native classes implemented
in managed code. Other cases exist as well.

Marcus Heege
 
C

Carl Daniel [VC++ MVP]

Marcus said:
In addition to that, you can also use pointers to managed functions
with unmanaged calling conventions.

A standard case of this is virtual functions of native classes
implemented in managed code. Other cases exist as well.

.... but only through the use of Managed Extensions for C++, which the OP
specifically didn't want to use.

-cd
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top