delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/10/29/13:09:54

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT sourceware DOT cygnus DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Message-ID: <000701bf2230$313b2ec0$41669fc1@mat>
From: "Mat" <mat AT meissler DOT de>
To: <cygwin AT sourceware DOT cygnus DOT com>
Subject: Tcl/TK Icons
Date: Fri, 29 Oct 1999 19:07:51 +0200
MIME-Version: 1.0
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 AT sourceware DOT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019