[Ironpython-users] Pyc.py dependencies

Slide slide.o.mix at gmail.com
Wed Feb 22 20:22:24 CET 2012

The icon has to be part of unmanaged resources, which can be defined using
DefineUnmanagedResource, but that function expects a compiled resource
file, not a .ico file. So, I have to generate the compiled resource file
from the .ico file to embed as the unmanaged resource. Unless I am
completely missing something.


On Wed, Feb 22, 2012 at 12:07 PM, Jeff Hardy <jdhardy at gmail.com> wrote:

> On Wed, Feb 22, 2012 at 9:44 AM, Slide <slide.o.mix at gmail.com> wrote:
> > Currently pyc.py only uses .NET imports and classes, I'm looking at
> adding
> > support for an embedded icon and win32 (native) resources in general. Are
> > people opposed to adding a dependency on the struct module, or ctypes to
> > accomplish that stuff?
> It's weird to me that it's not possible to do that through pure .NET,
> but if that's the only way go ahead. We can safely assume a stdlib
> will be present.
> - Jeff

Website: http://earl-of-code.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ironpython-users/attachments/20120222/0287a950/attachment.html>

More information about the Ironpython-users mailing list