Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / Managed C++ / November 2007

Tip: Looking for answers? Try searching our database.

Problems with Manifest generation

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Havatcha - 31 Oct 2007 16:37 GMT
I have recently ported a project from VS .Net to VS 2005 and when I
build/run it I get a run-time error "R6034".
After a bit of poking around I discovered that my manifest file only
contains the following

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
</assembly>

When I replace this with the manifest from a functioning program:

<?xml version='1.0' encoding='UTF-8' standalone='yes'?>
<assembly xmlns='urn:schemas-microsoft-com:asm.v1' manifestVersion='1.0'>
  <dependency>
    <dependentAssembly>
      <assemblyIdentity type='win32' name='Microsoft.VC80.CRT'
version='8.0.50608.0' processorArchitecture='x86'
publicKeyToken='1fc8b3b9a1e18e3b' />
    </dependentAssembly>
  </dependency>
</assembly>

The executable runs without a hitch.

Any suggestions on what settings I need to change to generate my
manifest correctly?
Jochen Kalmbach [MVP] - 31 Oct 2007 19:33 GMT
Hi Havatcha!

> I have recently ported a project from VS .Net to VS 2005 and when I
> build/run it I get a run-time error "R6034".
[quoted text clipped - 7 lines]
> Any suggestions on what settings I need to change to generate my
> manifest correctly?

Normally the pragma-manifest-statement is automatically embedded, if you
include one of the CRT files!
Just insert an

#include <stdio.h>

and be sure you are using the DLL version of the CRT in your project
setting!
Then the CRT-manifest will be automaticalle generated.

Signature

Greetings
  Jochen

   My blog about Win32 and .NET
   http://blog.kalmbachnet.de/

Havatcha - 01 Nov 2007 16:17 GMT
> Hi Havatcha!
>
[quoted text clipped - 19 lines]
> setting!
> Then the CRT-manifest will be automaticalle generated.

Thanks for the reply, I checked the Runtime library option in

Configuration Properties -> C/C++ -> Code Generation -> Runtime Library

and set it to "Multi-threaded DLL" which did the trick!

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.