[IronPython] Scripting an unmanaged app with IronPython?

Steve Baer steve at mcneel.com
Tue May 12 17:26:29 CEST 2009


Hi Mike,
I did this by creating a C++/CLI DLL that wraps our C++ exported 
classes/functions for .NET. This way there is no .NET code in our core 
C++/MFC executable and you get the effect of IP being hosted in the 
application.

Thanks,
-Steve


----- Original Message ----- 
From: "Mike Krell" <mbk.lists at gmail.com>
To: "Discussion of IronPython" <users at lists.ironpython.com>
Sent: Tuesday, May 12, 2009 8:12 AM
Subject: Re: [IronPython] Scripting an unmanaged app with IronPython?


> On Tue, May 12, 2009 at 7:58 AM, Curt Hagenlocher <curt at hagenlocher.org> 
> wrote:
>> Is there any reason you wouldn't just do this with CPython? In a past 
>> life,
>> I had a lot of success embedding CPython into a C++ / MFC application.
>
> Yes, in fact, I've done a limited version of my approach #2 before
> using boost.python.  The big win with using IronPython scripting is
> access to .net libraries.  Plus I like pushing the envelope -- as
> opposed to pushing boulders uphill :-)
>
>   Mike
> _______________________________________________
> Users mailing list
> Users at lists.ironpython.com
> http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
> 




More information about the Ironpython-users mailing list