SetString(FManifest, PAnsiChar(Resource.Memory),Resource.Size) Resource:=TResourceStream.CreateFromID(hModule,1,RT_MANIFEST) If FindResource(hModule, MakeIntResource(1), RT_MANIFEST)0 then HModule:=LoadLibraryEx(PChar(FileName),0,LOAD_LIBRARY_AS_DATAFILE) Property RequestedExecutionLevel : TRequestedExecutionLevel read FRequestedExecutionLevel Ĭonstructor Create(const AFileName:string) Ĭonstructor TManifiestReader.Create(const AFileName: string) Property HasManifest : Boolean read FHasManifest Property DependentAssembly : TAssemblyIdentity read FDependentAssembly Property MainAssemblyIdentity : TAssemblyIdentity read FMainAssemblyIdentity Property ManifestVersion : string read FManifestVersion Property Manifest : AnsiString read FManifest Property FileName : string read FFileName program versionchk įMainAssemblyIdentity: TAssemblyIdentity įRequestedExecutionLevel: TRequestedExecutionLevel įunction VarNullToStr(Value:OleVariant):string With XE2, things have changed in the exe. To see which version it was vbuild with i.e.,ġ2.xxxx - Delphi 2009 and 15.xxxx - Delphi XE It is a console application where param 1 is the exe file. In the main assembly, you can see the Name and Version, which will give you the Compiler's name and version. You can use this source to give you the Assembly information.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |