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" <[email protected]>
To: "Discussion of IronPython" <[email protected]>
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 <[email protected]>
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
[email protected]
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
_______________________________________________
Users mailing list
[email protected]
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com