What programs should have an explicit resource?

Newer IDEs, such as Visual Studio 2008 or 2010, create exe files with a default manifest resource. But I still have some projects in Visual Studio 6, and I need to compile them for maximum compatibility with Win Vista and Win 7.
Therefore, I have many questions about manifest resources:
1. Is the resource needed to create a well-formed application for Win7 or WinVista?
2. What information is required in the minimum manifestation of WinVista and Win7?
3. Can the wrong resource manifest launch the program compatibility assistant under Windiws 7?
4. Is the resource required for a DLL?
5. Where can I get information about using manifests?

+3
source share
2 answers

1. Is the manifest resource needed to create a well-formed application for Win7 or WinVista?

Without a manifest (with the requestExecutionLevel element), Windows Vista and Windows 7 use heuristics to try to guess if the application is a configuration application, which means that a regular application cannot start UAC proxy servers for any obvious reason.

requestExecutionLevel also tells the system NOT to virtualize access to protected resources.

2. What information is required in the minimal manifest of WinVista and Win7?

, requestExecutionLevel, UAC , , HKLM.

3. Windiws 7?

, Windows Vista 7 , "" , . , XP (.. requestExecutionLevel).

4. , DLL?

7 Dll . MSDev Studio Dll requestExecutionLevel, Dll, .

5. ?

MSDN: - , , .


: , , - Vista Windows 7, , , .

+3

, . , Windows, UAC. , <requestedExecutionLevel>. , Windows . HKCU. .

, DLL, Windows . , VS6. WinSxS MFC CRT VS2005 VS2008. VS2010, MSFT.

, . comctl32.dll 6.0, , , system32.

, COM , , , COM- .

Visual Studio.

+2

Source: https://habr.com/ru/post/1751225/


All Articles