Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
29282 Discussions

Launch Program as Administrator, requireAdministrator, change manifest file

rwg
Novice
1,815 Views

I want to create a FORTRAN administrator application. Because this application has to run under XP, Vista and Windows 7 I want to add a manifest file with requestedExecutionLevel level="requireAdministrator" but all my attempts failed. I tried the following:

  • Changing the appropriate linker option under 'Manifest File' but FORTRAN projects don't have such an option while C++ projects do. (By the way: all linker options are in english if the project is a FORTRAN project. They are in german for C++ projects)
  • Adding the Addition Option /MANIFESTUAC:level=requireAdministrator under Linker, Command Line: I get the error message: ...exe.intermediate.manifest : general error c1010070: Failed to load and parse the manifest.
    Even though the created intermediate manifest file seems to be correct (including level=requireAdministrator)
  • Creating a manifest file and adding the name under Manifest Tool, Input and Output, Additional Manifest Files: I get the error message: ...exe.intermediate.manifest : manifest authoring error c1010001: Values of attribute "level" not equal in different manifest snippets.
Any ideas?
0 Kudos
1 Reply
rwg
Novice
1,815 Views
Switching back to VS6 and Compaq FORTRAN gives me a solution for VS2008:

1. Disable generation of manifests in VS2008! (Linker, Manifest File, Generate Manifest: No)
2. Create your own manifest file e.g.:










3. Add this file as resource (select the resource view, right click on resources, add resource, import... and select the manifest file you created, you can enter RT_MANIFEST as resource type)

Using the default manifest VS2008 creates and changing the requestedExecutionLevel seems to be impossible for FORTRAN projects.

0 Kudos
Reply