dotnet / docs

This repository contains .NET Documentation.
https://learn.microsoft.com/dotnet
Creative Commons Attribution 4.0 International
4.24k stars 5.88k forks source link

Whare are the meaning of each flag? #26444

Closed DavidotNet closed 2 years ago

DavidotNet commented 2 years ago

[Enter feedback here] Please provide an explanation of the meaning of the output values of 1 and 0 for each flag. I want to be certain of the meaning. I am troubleshooting COM "is not a valid Office Add-In." It will not load in a 64 bit Office App.

Version : v4.0.30319 CLR Header: 2.5 PE : PE32+ Does this mean 64bit only or both 32 & 64bit? CorFlags : 0x9 ILONLY : 1 32BITREQ : 0 What do these BIT flags mean? 32BITPREF : 0
Signed : 1


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

tdykstra commented 2 years ago

@safern who can help with this request?

tdykstra commented 2 years ago

@agocke do you know who can help with this?

agocke commented 2 years ago

These flags are documented in section "II.25.3.3.1 Runtime flags" of the ECMA-335 specification.

agocke commented 2 years ago

Except for the PE flag, that is part of the PE format, which is documented at https://docs.microsoft.com/en-us/windows/win32/debug/pe-format#optional-header-image-only

tdykstra commented 2 years ago

@agocke Thanks! I'll update the article.