This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Tcl/TK Icons


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@sourceware.cygnus.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]