Iris2.de
http://iris2.de/forum/

Visual Studio Manifest solution to run your app anywhere!
http://iris2.de/forum/viewtopic.php?f=16&t=1028
Page 1 of 1

Author:  SiENcE [ Thu Apr 12, 2007 1:41 pm ]
Post subject:  Visual Studio Manifest solution to run your app anywhere!

We had problem with VS2005 and our Updater.exe Tool.

Here is now a sollution for all Developers using VS8 with the crt.

Code:
// for generating exe
/*
1) set \md in [cpp->code generation]
2) build app
3) save from obj dir Kaeto.exe.intermediate.manifest for later
4) set ‘no’ for generating manifest in [linker->manifest]
5) rename Kaeto.exe.intermediate.manifest -> Kaeto.exe.manifest
6) edit Kaeto.exe.manifest, and change version to 8.0.50727.762
7) add Kaeto.exe.manifest in [manifest->input]
8) build app
9) add into app folder ‘Microsoft.VC80.CRT.manifest’, ‘msvcp80.dll’, ‘msvcr80.dll’
10) now it work on all win xp
*/

// for generating dll
/*
1) set \md in [cpp->code generation]
2) build dll
3) set ‘no’ for generating manifest in [linker->manifest]
4) add Microsoft.VC80.CRT.manifest in [manifest->input]
5) build dll
6) add into dll folder ‘Microsoft.VC80.CRT.manifest’, ‘msvcp80.dll’, ‘msvcr80.dll’
7) now it work on all win xp
*/


All example sources and dll and app is here http://tfib.miracle-intermedia.net/download/some/manifest%20solution%20to%20run%20anywhere.zip

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/