Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.


Welcome, Guest
Guest Settings
Help

Thread: Using a manifest in BCB XE4



Permlink Replies: 1 - Last Post: Jun 5, 2014 7:14 PM Last Post By: Remy Lebeau (Te... Threads: [ Previous | Next ]
Colin Maharaj

Posts: 23
Registered: 3/19/09
Using a manifest in BCB XE4
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jun 5, 2014 6:40 PM
(maybe my manifest is wrong)

Hi all , I have a manifest that I am trying to embed in a service
using....

Project Options | Application | Runtime Themes | use custom manifest

And the app crashes after a compile, I think maybe my manifest is wrong
my goal is not to have application virtualization enabled.

here is what the manifest looks like.....

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly
xmlns="urn:schemas-microsoft-com:asm.v1"
manifestVersion="1.0">
<assemblyIdentity
processorArchitecture="x86"
version="5.1.0.0"
type="win32"
name="MyService.exe"/>
<description>My Service</description>
<dependency>
<dependentAssembly>
<assemblyIdentity
type="win32"
name="Microsoft.Windows.Common-Controls"
version="6.0.0.0"
publicKeyToken="0000000000000000"
language="*"
processorArchitecture="x86"/>
</dependentAssembly>
</dependency>
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v3">
<security>
<requestedPrivileges>
<requestedExecutionLevel level='AsInvoker' uiAccess='false' />
</requestedPrivileges>
</security>
</trustInfo>
</assembly>

Remy Lebeau (Te...


Posts: 9,447
Registered: 12/23/01
Re: Using a manifest in BCB XE4
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jun 5, 2014 7:14 PM   in response to: Colin Maharaj in response to: Colin Maharaj
Colin wrote:

(maybe my manifest is wrong)

I see two things wrong with it:

1. the Common-Controls publicKeyToken needs to be set to "6595b64144ccf1df"
instead of "0000000000000000".

2. the requestedExecutionLevel is using single quotes when it should be using
double quotes instead.

--
Remy Lebeau (TeamB)
Legend
Helpful Answer (5 pts)
Correct Answer (10 pts)

Server Response from: ETNAJIVE02