Re: [python-win32] adding icon in an exe

2006-05-04 Thread Graeme Glass
I seem to be running into some problems here, ( http://pyinstaller.hpcf.upr.edu/cgi-bin/trac.cgi/file/trunk/icon.py ) If I call CopyIcons_FromIco() or CopyIcons() using an .ico as source, the python script runs with no errors, it adds the icon to the exe but breaks the exe, i then get the error m

Re: [python-win32] adding icon in an exe

2006-05-03 Thread Graeme Glass
Great, thanks to the both of you, very helpful!! I had found a interim work around, (not programmable, using GoRC and Resource Hacker) and so was not happy with it, this is of great help, thank you. Graeme On 5/3/06, Ralf Schmitt <[EMAIL PROTECTED]> wrote: > Mark Hammond schrieb: > >> Does anyone

Re: [python-win32] adding icon in an exe

2006-05-03 Thread Ralf Schmitt
Mark Hammond schrieb: >> Does anyone know of a way to add an icon to an existing .exe file on >> win32 platform using win32all package? > > With some pain :( You need to put together the .ico structure yourself and > use the BeginUpdateResource() etc win32 functions. The only working code I > kn

Re: [python-win32] adding icon in an exe

2006-05-02 Thread Mark Hammond
> Does anyone know of a way to add an icon to an existing .exe file on > win32 platform using win32all package? With some pain :( You need to put together the .ico structure yourself and use the BeginUpdateResource() etc win32 functions. The only working code I know (off the top of my head) is i

[python-win32] adding icon in an exe

2006-05-02 Thread Graeme Glass
Greetings, Does anyone know of a way to add an icon to an existing .exe file on win32 platform using win32all package? Thanks. Graeme ___ Python-win32 mailing list Python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32