The first thing to do would be to make sure that your application compiles
successfully with /CLR switch (Project Properties -> Configuration
Properties -> General -> Common Language Runtime Support). Further
instructions are available at MSDN [1]. Next would be to understand Managed
<-> Native Interop. You will have enough in your arsenal to tackle any
issues that come up when using Managed code with MFC. There 3 good books,
listed below (in no particular order), that I know of that explain these
topics in great detail.
1. C++/CLI in Action - Nishant Sivakumar
2. Expert Visual C++/CLI: .NET for Visual C++ Programmers - Marcus Heege
3. C++/CLI: The Visual C++ Language for .NET - Gordon Hogenson

HTH,

Jalil Vaidya

On Sun, 20 Jan 2008 18:11:42 -0500, Mark Potter <[EMAIL PROTECTED]> wrote:

>I recently ported a large VC++ 6.0 MFC App to VS 2005 VC++ MFC.
>Everything is working okay.  However, I am not using the CLR.  I want to
>do this to make it easier to call some C# libraries.  Are there any
>articles or books written on this subject.
>
>Thanks in advance.
>
>Mark Potter
>
>===================================
>This list is hosted by DevelopMentorĀ®  http://www.develop.com
>
>View archives and manage your subscription(s) at http://discuss.develop.com
===================================
This list is hosted by DevelopMentorĀ®  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com

Reply via email to