Mail Archives: cygwin/1999/10/29/13:09:54
Hi folks,
mainly I'm using cygwin to compile c-code I converted from pure Tcl/Tk.
My problem is that when I compile it, the explorer shows my icon but when I
start the prog there's not my icon in the system menu but the one from the
cygtk80.dll.
I could change the icon of the dll to my but I think this is not legal.
So anyone an idea how to solve this problem?
I'm appending my rc-file and the batch I use to compile:
makeini.rc
=======
makeini ICON PRELOAD "makeini.ico"
1 VERSIONINFO
FILEVERSION 1, 0, 0, 0
PRODUCTVERSION 1, 0, 0, 0
BEGIN
BLOCK "StringFileInfo"
BEGIN
BLOCK "040904b0"
BEGIN
VALUE "FileDescription", "MAKEINI\0"
VALUE "OriginalFilename", "MAKEINI.exe\0"
VALUE "FileVersion", "1.0\0"
VALUE "LegalCopyright", "Copyright \251 1999 by Mat\0"
VALUE "ProductName", "LAN-Mail\0"
VALUE "ProductVersion", "1.0\0"
END
END
BLOCK "VarFileInfo"
BEGIN
VALUE "Translation", 0x409, 1200
END
END
compile.bat
========
windres -i makeini.rc -o makeini.o
gcc makeini.c makeini.o -ltk80 -ltcl80 -mwindows
Hope you can help...
Mat
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
- Raw text -