load managed code from mfc

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • dotnetchic

    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?

  • Nicholas Paldino [.NET/C# MVP]

    #2
    Re: load managed code from mfc

    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]
    - mvp@spam.guard. caspershouse.co m

    "dotnetchic " <dotnetchic@gma il.com> wrote in message
    news:1138807504 .598353.44600@z 14g2000cwz.goog legroups.com...[color=blue]
    > 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?
    >[/color]


    Comment

    • dotnetchic

      #3
      Re: load managed code from mfc

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

      Must've had a late night...

      Comment

      Working...