[Ironpython-users] IronPython, Daily Digest 11/3/2014

2014-11-04 Thread CodePlex
Hi ironpython, Here's your Daily Digest of new issues for project "IronPython". In today's digest:ISSUES 1. [New comment] NotImplementedError: buffer_info not implemented for the array module 2. [New comment] Should sys.getfilesystemencoding() return 'mbcs' now that this is a supported encodin

Re: [Ironpython-users] Integrating a WPF IPy program with C#

2014-11-04 Thread Love, Matthew
I got it sorted in the end. I’ll post what I did for completion. To run programs that depended on WPF, two things were needed. First, had to load the wpf dll manually into the IronPython engine’s runtime. var wpf_path = @"C:\Program Files (x86)\IronPython 2.7\DLLs\IronPython.Wpf.dll"; var wpf_dl

Re: [Ironpython-users] Integrating a WPF IPy program with C#

2014-11-04 Thread Markus Schaber
Hi, Matthew, I think for loading the DLL, you could also use the clr module from python, it has functions like AddReference, AddReferenceToFile, AddReferenceByName and AddReferenceByPartialName. The STA thread is always necessary for WPF and Windows Forms, AFAIK, and it has to be set at the ma