X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 	tests=AWL,BAYES_00,J_CHICKENPOX_28
X-Spam-Check-By: sourceware.org
Date: Thu, 4 Jun 2009 13:30:38 +0200
From: Spiro Trikaliotis <an-cygwin@spiro.trikaliotis.net>
To: cygwin@cygwin.com
Message-ID: <20090604113038.GF21472@trikaliotis.net>
Mail-Followup-To: cygwin@cygwin.com
References: <4A25FA67.4050805@users.sourceforge.net> <20090603081102.GI23519@calimero.vinschen.de> <h074af$kjd$1@ger.gmane.org> <20090604082551.GB29270@calimero.vinschen.de>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20090604082551.GB29270@calimero.vinschen.de>
User-Agent: Mutt/1.5.17+20080114 (2008-01-14)
X-SA-Exim-Connect-IP: 87.163.216.61
X-SA-Exim-Mail-From: an-cygwin@spiro.trikaliotis.net
Subject: Re: UAC .manifest files
X-SA-Exim-Version: 4.2.1 (built Tue, 09 Jan 2007 17:23:22 +0000)
X-SA-Exim-Scanned: Yes (on mail.trikaliotis.net)
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

Hello,

* On Thu, Jun 04, 2009 at 10:25:51AM +0200 Corinna Vinschen wrote:
 
>           And, no, I have no idea how to generate inline manifests :}

Taking from a project (Note: I did not write the code in the first
place, so I might be missing the gory details):


- let my.manifest be the manifest file
  (http://vice-emu.svn.sourceforge.net/viewvc/vice-emu/trunk/vice/src/arch/win32/vice.manifest?revision=20487&view=markup)

- Generate a .rc file with the line:
  1 RT_MANIFEST "my.manifest"

  (lines 69ff from
  http://vice-emu.svn.sourceforge.net/viewvc/vice-emu/trunk/vice/src/arch/win32/res.rc?revision=20736&view=markup)

- Let the resource compiler handle the .rc file, and let windres merge
  the info into the executable.

  (lines 432ff from
  http://vice-emu.svn.sourceforge.net/viewvc/vice-emu/trunk/vice/src/arch/win32/Makefile.am?revision=20930&view=markup


Regards,
Spiro.

-- 
Spiro R. Trikaliotis                              http://opencbm.sf.net/
http://www.trikaliotis.net/                     http://www.viceteam.org/

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

