load managed code from mfc

D

dotnetchic

Is it possible to execute a managed code dll from a VC6 mfc app? Using
afxLoadLibrary on the c++ side, how to handle it on c# side?
 
N

Nicholas Paldino [.NET/C# MVP]

dotnetcheck,

If you want to run managed code in MFC, you ^should^ be able to turn on
the /CLR switch and then compile your code (you might have to indicate which
areas are managed and which are unmanaged code). The C++ compiler should
handle the rest.

Hope this helps.
 
D

dotnetchic

Sorry, I began another post without checking here again...see
call c# dll function from another app

Must've had a late night...
 

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