[IronPython] Can IronPython be used to create COM DLLs?

Alec Munro alecmunro at gmail.com
Tue Oct 7 18:58:15 CEST 2008


Thanks Curt. It would have been a nice solution, but I will make do.

Alec

On Tue, Oct 7, 2008 at 1:38 PM, Curt Hagenlocher <curt at hagenlocher.org> wrote:
> The short answer to this is "no".
> I suspect it might be possible to implement predefined COM interfaces from
> IronPython and to use COM-.NET interop to make this code visible to COM
> consumers.  But to actually create a DLL that can be loaded by the COM
> loader would require a greater level of control over the bits being produced
> for the DLL than we currently offer in the precompilation feature.
> This may be something that the pywin32 extensions to CPython will support.
>
> On Tue, Oct 7, 2008 at 5:56 AM, Alec Munro <alecmunro at gmail.com> wrote:
>>
>> Hi List,
>>
>> I'm embarking on a project to rewrite a DLL that my team uses. It's a
>> COM DLL, and has to implement specific interfaces. Currently, it's
>> written in C++, which I am not terribly proficient with. However, it's
>> important that the code is as well tested and stable as possible. As
>> such, I thought it would be worth investigating whether this is
>> something that IronPython could do, as Python is something I'm quite
>> familiar with.
>>
>> So, can IronPython create DLLs that implement specific COM interfaces?
>>
>> Thanks,
>> Alec Munro
>> _______________________________________________
>> Users mailing list
>> Users at lists.ironpython.com
>> http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
>
>
> _______________________________________________
> 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