Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@sourceware.cygnus.com>
List-Subscribe: <mailto:cygwin-subscribe@sourceware.cygnus.com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin@sourceware.cygnus.com>
List-Help: <mailto:cygwin-help@sourceware.cygnus.com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner@sourceware.cygnus.com
Delivered-To: mailing list cygwin@sourceware.cygnus.com
Message-ID: <000701bf2230$313b2ec0$41669fc1@mat>
From: "Mat" <mat@meissler.de>
To: <cygwin@sourceware.cygnus.com>
Subject: Tcl/TK Icons
Date: Fri, 29 Oct 1999 19:07:51 +0200
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.00.2314.1300
X-Mimeole: Produced By Microsoft MimeOLE V5.00.2314.1300

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

