471,605 Members | 1,473 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,605 software developers and data experts.

load managed code from mfc

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?

Feb 1 '06 #1
2 1576
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.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"dotnetchic" <do********@gmail.com> wrote in message
news:11*********************@z14g2000cwz.googlegro ups.com...
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?

Feb 1 '06 #2
Sorry, I began another post without checking here again...see
call c# dll function from another app

Must've had a late night...

Feb 2 '06 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

5 posts views Thread by N | last post: by
1 post views Thread by pnp | last post: by
3 posts views Thread by Kanaiya | last post: by
reply views Thread by Eric Twietmeyer | last post: by
reply views Thread by Dave Burns | last post: by
1 post views Thread by Doctorslicer | last post: by
reply views Thread by leo001 | last post: by
reply views Thread by MichaelMortimer | last post: by
reply views Thread by CCCYYYY | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.