Manifest for Windows 10

Manifest for Windows 10

Postby Giovany Vecchi » Sat Aug 19, 2017 5:36 pm

I changed the .manifest file with the optimization information for Windows 7,8,8,1 and 10 and call the access request to administrator when loaded.
Include in the resource file

File Windows10.manifest
Code: Select all  Expand view
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">

  <compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1">
      <application>
        <!--This Id value indicates the application supports Windows 10 functionality-->
          <supportedOS Id="{8e0f7a12-bfb3-4fe8-b9a5-48fd50a15a9a}"/>
        <!--This Id value indicates the application supports Windows Vista functionality -->
          <supportedOS Id="{e2011457-1546-43c5-a5fe-008deee3d3f0}"/>
        <!--This Id value indicates the application supports Windows 7 functionality-->
          <supportedOS Id="{35138b9a-5d96-4fbd-8e2d-a2440225f93a}"/>
        <!--This Id value indicates the application supports Windows 8 functionality-->
          <supportedOS Id="{4a2f28e3-53b9-4441-ba9c-d69d4a4a6e38}"/>
        <!--This Id value indicates the application supports Windows 8.1 functionality-->
          <supportedOS Id="{1f676c76-80e1-4239-95bb-83d0f6d0da78}"/>
      </application>
  </compatibility>

  <trustInfo xmlns="urn:schemas-microsoft-com:asm.v2">
    <security>
      <requestedPrivileges xmlns="urn:schemas-microsoft-com:asm.v3">
        <requestedExecutionLevel  level="highestAvailable" uiAccess="false" />  
       </requestedPrivileges>
    </security>
  </trustInfo>

<assemblyIdentity
    version="1.0.0.0"
    processorArchitecture="X86"
    name="FiveTech Software.FiveWin.32bits"
    type="win32"
/>
<description>Your application description here.</description>
<dependency>
    <dependentAssembly>
        <assemblyIdentity
            type="win32"
            name="Microsoft.Windows.Common-Controls"
            version="6.0.0.0"
            processorArchitecture="X86"
            publicKeyToken="6595b64144ccf1df"
            language="*"
        />
    </dependentAssembly>
</dependency>
</assembly>
 
Last edited by Giovany Vecchi on Sun Aug 20, 2017 6:37 am, edited 1 time in total.
User avatar
Giovany Vecchi
 
Posts: 207
Joined: Mon Jun 05, 2006 9:39 pm
Location: Brasil

Re: Manifest for Windows 10

Postby Antonio Linares » Sun Aug 20, 2017 5:02 am

many thanks :-)
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 41286
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Manifest for Windows 10

Postby Enrico Maria Giordano » Sun Aug 20, 2017 8:57 am

I tried the manifest but the buttonbar (at least the one of the preview window) has vanished.

EMG
User avatar
Enrico Maria Giordano
 
Posts: 8307
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Re: Manifest for Windows 10

Postby Horizon » Sun Aug 20, 2017 9:49 am

Hi,

Code: Select all  Expand view
<description>Your application description here.</description>


When I write "My Application" in description above, Should I see "My Application" in Details of Properties of application?

Thanks,
Regards,

Hakan ONEMLI

Harbour & MSVC 2022 & FWH 23.04
Horizon
 
Posts: 1287
Joined: Fri May 23, 2008 1:33 pm

Re: Manifest for Windows 10

Postby Rick Lipkin » Fri Aug 25, 2017 9:06 pm

Hakan

In order to 'burn' your development and Version Information .. save this code to Version.Rc and add Version.rc to your link list. Use Noteapad to edit your specific information

Rick Lipkin

Code: Select all  Expand view


//
// Version Information resources
//
LANGUAGE 0, SUBLANG_NEUTRAL
1 VERSIONINFO
    FILEVERSION     31,0,0,0
    PRODUCTVERSION  31,0,0,0
    FILEOS          VOS__WINDOWS32
    FILETYPE        VFT_UNKNOWN
    FILESUBTYPE     VFT2_UNKNOWN
    FILEFLAGSMASK   0
    FILEFLAGS       0
{
    BLOCK "StringFileInfo"
    {
        BLOCK "04090025"
        {
            VALUE "CompanyName", "CCI by Richard Lipkin"
            VALUE "FileDescription", "Vehicle Maint    "
            VALUE "FileVersion", "31.0 Prod"
            VALUE "LegalCopyright", "Custom Computers Inc "
        }
    }
    BLOCK "VarFileInfo"
    {
        VALUE "Translation", 0x0409, 0x0025
    }
}

 
User avatar
Rick Lipkin
 
Posts: 2608
Joined: Fri Oct 07, 2005 1:50 pm
Location: Columbia, South Carolina USA

Re: Manifest for Windows 10

Postby Enrico Maria Giordano » Sat Aug 26, 2017 7:58 am

Rick,

Where do you get 0x0025 value from? It is not mentioned here:

https://msdn.microsoft.com/it-it/library/windows/desktop/aa381049(v=vs.85).aspx

I'm using 1200 instead.

EMG
User avatar
Enrico Maria Giordano
 
Posts: 8307
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Re: Manifest for Windows 10

Postby Rick Lipkin » Sat Aug 26, 2017 2:07 pm

Enrico

I do not know ... found this .rc on the internet somewhere ... it appears 0x0025 is Estonian ... think I will remove that translation

https://www.microsoft.com/resources/msd ... fault.mspx

Rick Lipkin

Image
User avatar
Rick Lipkin
 
Posts: 2608
Joined: Fri Oct 07, 2005 1:50 pm
Location: Columbia, South Carolina USA

Re: Manifest for Windows 10

Postby Rick Lipkin » Sat Aug 26, 2017 2:30 pm

Enrico

Interesting enough .. if I remove 0x0025 .. and recompile .. I get No language translation

Rick Lipkin


Image
User avatar
Rick Lipkin
 
Posts: 2608
Joined: Fri Oct 07, 2005 1:50 pm
Location: Columbia, South Carolina USA

Re: Manifest for Windows 10

Postby Enrico Maria Giordano » Sat Aug 26, 2017 3:14 pm

Can I see your changed VersionInfo?

EMG
User avatar
Enrico Maria Giordano
 
Posts: 8307
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Re: Manifest for Windows 10

Postby cnavarro » Sat Aug 26, 2017 3:38 pm

Rick Lipkin wrote:Enrico

Interesting enough .. if I remove 0x0025 .. and recompile .. I get No language translation

Rick Lipkin


Rick, if you change this ( example for spanish )

BLOCK "VarFileInfo"
{
VALUE "Translation", 0x0C0A, 0x0409



You have change also (same values), not?

BLOCK "StringFileInfo"
{
BLOCK "0C0A0409"
Cristobal Navarro
Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo
El secreto de la felicidad no está en hacer lo que te gusta, sino en que te guste lo que haces
User avatar
cnavarro
 
Posts: 6500
Joined: Wed Feb 15, 2012 8:25 pm
Location: España

Re: Manifest for Windows 10

Postby Horizon » Sat Aug 26, 2017 6:18 pm

Rick Lipkin wrote:Hakan

In order to 'burn' your development and Version Information .. save this code to Version.Rc and add Version.rc to your link list. Use Noteapad to edit your specific information

Rick Lipkin

Code: Select all  Expand view


//
// Version Information resources
//
LANGUAGE 0, SUBLANG_NEUTRAL
1 VERSIONINFO
    FILEVERSION     31,0,0,0
    PRODUCTVERSION  31,0,0,0
    FILEOS          VOS__WINDOWS32
    FILETYPE        VFT_UNKNOWN
    FILESUBTYPE     VFT2_UNKNOWN
    FILEFLAGSMASK   0
    FILEFLAGS       0
{
    BLOCK "StringFileInfo"
    {
        BLOCK "04090025"
        {
            VALUE "CompanyName", "CCI by Richard Lipkin"
            VALUE "FileDescription", "Vehicle Maint    "
            VALUE "FileVersion", "31.0 Prod"
            VALUE "LegalCopyright", "Custom Computers Inc "
        }
    }
    BLOCK "VarFileInfo"
    {
        VALUE "Translation", 0x0409, 0x0025
    }
}

 


Thank you very much.

I try to compile with microsoft rc.exe. I got some errors.

Code: Select all  Expand view
Version.rc(5) : error RC2147 : SUBLANGUAGE ID not a number

Version.rc(9) : error RC2104 : undefined keyword or key name: VOS__WINDOWS32

NMAKE : fatal error U1077: '"C:\Program Files (x86)\Windows Kits\10\bin\x86\rc.exe"' : D?n?? kodu '0x2'
Stop.


Is there any solution?
Regards,

Hakan ONEMLI

Harbour & MSVC 2022 & FWH 23.04
Horizon
 
Posts: 1287
Joined: Fri May 23, 2008 1:33 pm

Re: Manifest for Windows 10

Postby Antonio Linares » Sat Aug 26, 2017 7:04 pm

regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 41286
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Manifest for Windows 10

Postby byte-one » Sun Aug 27, 2017 7:37 pm

Regards,
Günther
---------------------------------
office@byte-one.com
User avatar
byte-one
 
Posts: 1048
Joined: Mon Oct 24, 2005 9:54 am
Location: Austria


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 16 guests