[Ironpython-users] Pyc.py dependencies
jdhardy at gmail.com
Wed Feb 22 22:07:19 CET 2012
On Wed, Feb 22, 2012 at 11:22 AM, Slide <slide.o.mix at 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
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.
More information about the Ironpython-users