473,748 Members | 11,145 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Help - Missing manifest file

I'm working on migrating my VC++ 6.0 project to VS C++ 2005 and I'm bulding
the project using NMAKE from the command line. The code is not GUI, all
console utilities and services. I've managed to compile/build the code but
couple of places in my build tree I don't see manifest file along with DLL
and/or EXE. In most dirs. it (*.manifest) is there except for few and I
wonder what could be the reason for that. I'm not using /manifest switch any
where in my Makefiles. If I tries to open the exe file, that doesn't have
manifest file, in VS2005 Prof Ed. IDE, I get error "Cannot enumerate
resources in the executable.". Any help?
Sep 19 '07 #1
4 3917
DLL/EXEs, where the *.manifest file were missing, were compiled with /MT
switch (static link). I changed it to /MD (dynamic link) and it created the
manifest file. I guess if you are linking statically you don't have any
runtime dependency and thus no manifest file.

RD

"RD" wrote:
I'm working on migrating my VC++ 6.0 project to VS C++ 2005 and I'm bulding
the project using NMAKE from the command line. The code is not GUI, all
console utilities and services. I've managed to compile/build the code but
couple of places in my build tree I don't see manifest file along with DLL
and/or EXE. In most dirs. it (*.manifest) is there except for few and I
wonder what could be the reason for that. I'm not using /manifest switch any
where in my Makefiles. If I tries to open the exe file, that doesn't have
manifest file, in VS2005 Prof Ed. IDE, I get error "Cannot enumerate
resources in the executable.". Any help?
Sep 21 '07 #2
RD wrote:
DLL/EXEs, where the *.manifest file were missing, were compiled with /MT
switch (static link). I changed it to /MD (dynamic link) and it created the
manifest file. I guess if you are linking statically you don't have any
runtime dependency and thus no manifest file.
RD:

Even with static linking you still need a manifest to get XP/Vista
themes, and to turn of vitualization and other legacy features in Vista.

--
David Wilkinson
Visual C++ MVP
Sep 22 '07 #3
I'm writting applications for XP servers only. In that case I won't need
manifest file. Is that correct?

I'm now trying to build an existing DLL without manifestation using
/ALLOWISOLATION: NO and it gives me link error as follows:
LINK : fatal error LNK1295: '/ALLOWISOLATION' not compatible with '/DLL'
specification; link without '/ALLOWISOLATION'

Does this means you can't use link option /ALLOWISOLATION for a DLL. It is
only for the EXEs? I need to build DLL without .manifest file to resolve java
JNI DLL load error with java.exe. Any ideas.

"David Wilkinson" wrote:
RD wrote:
DLL/EXEs, where the *.manifest file were missing, were compiled with /MT
switch (static link). I changed it to /MD (dynamic link) and it created the
manifest file. I guess if you are linking statically you don't have any
runtime dependency and thus no manifest file.

RD:

Even with static linking you still need a manifest to get XP/Vista
themes, and to turn of vitualization and other legacy features in Vista.

--
David Wilkinson
Visual C++ MVP
Oct 4 '07 #4

"RD" <RD@discussions .microsoft.comw rote in message
news:F7******** *************** ***********@mic rosoft.com...
I'm writting applications for XP servers only. In that case I won't need
manifest file. Is that correct?

I'm now trying to build an existing DLL without manifestation using
/ALLOWISOLATION: NO and it gives me link error as follows:
LINK : fatal error LNK1295: '/ALLOWISOLATION' not compatible with '/DLL'
specification; link without '/ALLOWISOLATION'

Does this means you can't use link option /ALLOWISOLATION for a DLL. It is
only for the EXEs? I need to build DLL without .manifest file to resolve
java
JNI DLL load error with java.exe. Any ideas.
You need to provide "java.exe.manif est"
Oct 9 '07 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1288
by: hawat.thufir | last post by:
an ant build.xml file: <project name="XHTML" default="package2"> <import file="properties.xml" /> <target name="clean"> <delete dir="${outputDir}" /> </target>
1
8706
by: Santhu | last post by:
What is the difference between METADATA and MANIFEST and where do they get stored? Thank you
7
5383
by: Corepaul | last post by:
Missing Help Files When I enter "recordset" as the keyword and search the Visual Basic Help index, I get many topics of interest in the resulting list. But there isn't any information available from clicking on many of the available topics (mostly methods but some properties are also unavailable). This same problem occurs with many, if not most, keywords. Is there any way I can activate these "missing" help topics? HELP!
0
1259
by: ChrisB | last post by:
In my C# application, I want to make my controls have the look and feel of XP (what a novel concept, I know.) I am running Visual Studio .Net 2002 on Windows XP Pro I found articles on the web that explain to 1) Create a file called myapp.exe.manifes 2) Make the contents of the file <?xml version="1.0" encoding="UTF-8" standalone="yes"?><assembly xmlns="urn:schemas-microsoft-com:asm.v1"...
3
3233
by: Jonathan Payne | last post by:
Hi, I am interested in adding a manifest file to the resources for a MFC application. When I create an AppWizard MFC app with a manifest file it adds the following lines to the .rc file: #ifdef _UNICODE IDR_MANIFEST RT_MANIFEST "res\\TestManifest4.manifest"
1
1047
by: Kaye | last post by:
I'd like to be able to use this message (RBN_AUTOBREAK) with my rebar control in Windows XP, and I just can't seem to get there. The application I'm working on is a .dll that is loaded by another application. To start with, the RBN_AUTOBREAK definition in commctrl.h is surrounded by an "#if (_WIN32_WINNT >= 0x0501)". Unfortunately, this is not defined for my application, which includes only windows.h, and commctrl.h! I can just define...
2
10672
by: AMD4me2 | last post by:
Each time I restart computer & run Norton System Works One Button Checkup, it finds same problems: missing program files: i.e.: ....NET\FRAMEWORK\v2.0...cannot access a necessary file, "msvcr80.dll". I have .net framework 1.1, .net framework 1.1 hotfix (KB886903), and .net framework 2.0 installed. I would like to know how to correct the missing (msvcr80.dll) file problem. -- Athlon64x2 3800+(2.55 Ghz@1.49v) MSI K8N Neo4 Platinum SLI,...
3
4411
by: Richard Lewis Haggard | last post by:
We are having a lot of trouble with problems relating to failures relating to 'The located assembly's manifest definition with name 'xxx' does not match the assembly reference" but none of us here really understand how this could be an issue. The assemblies that the system is complaining about are ones that we build here and we're not changing version numbers on anything. The errors come and go with no apparent rhyme or reason. We do not...
0
1517
xarzu
by: xarzu | last post by:
Getting a C# program with a manifest file to run in the debugger ---------------------------------------------------------------- How do I declare a manifest file in the Visual Studio IDE for C# so that I can debug the resulting code? I have been able to add the manifest file, to the exe after I have built the program. But then, when I try to debug my C# code, the program crashes at the point where a function call is made that is used by...
0
9537
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
9319
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8241
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6795
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6073
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4599
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4869
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3309
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2780
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.