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.

slide

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

> On Wed, Feb 22, 2012 at 9:44 AM, Slide <slide.o....@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
_______________________________________________
Ironpython-users mailing list
Ironpython-users@python.org
http://mail.python.org/mailman/listinfo/ironpython-users

Reply via email to