I'm feeling pretty masochistic lately, so maybe I'll write it in pure Python :-) The other option is pulling in something like wrc.exe from WINE depending on the license winres from binutils is another option. I can check into those options as well. What license would we want in order to redistribute with IP, I am terrible with licenses.
slide On Wed, Feb 22, 2012 at 2:07 PM, Jeff Hardy <jdha...@gmail.com> wrote: > On Wed, Feb 22, 2012 at 11:22 AM, Slide <slide.o....@gmail.com> wrote: > > 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. > > No, that looks right to me. > > You could shell out to rc.exe. Just write a temporary .rc file, > compile, and pass the .res to DefineUnmanagedResource. I think. I only > had to use rc once, in the distant past. :) Downside is that rc.exe > require VS or the Windows SDK, neither of which are small. > > If you can write it in Python without too much work, go for it. > > - Jeff > -- Website: http://earl-of-code.com
_______________________________________________ Ironpython-users mailing list Ironpython-users@python.org http://mail.python.org/mailman/listinfo/ironpython-users