Get-ChildItem c:\windows -include *.dll -recurse | foreach-object { "{0}" -f [System.Diagnostics.FileVersionInfo]::GetVersionInfo($_) } > "$($env:USERPROFILE)\Desktop\DLL_Versions.txt"
File: C:\windows\SysWOW64\SHCore.dllInternalName: SHCOREOriginalFilename: SHCORE.dlFileVersion: 10.0.22621.2715 (WinBuild.160101.0800)FileDescription: SHCOREProduct: Microsoft® Windows® Operating SystemProductVersion: 10.0.22621.2715Debug: FalsePatched: FalsePreRelease: FalsePrivateBuild: FalseSpecialBuild: FalseLanguage: English (United States)
NoBefore I installed that component, my Lazarus worked correctly.But after i installed that , this DLL file missing
Quote from: majid.ebru on December 01, 2023, 06:45:29 pmNoBefore I installed that component, my Lazarus worked correctly.But after i installed that , this DLL file missingThis is because that component uses this dll. From DzHTMLText/ScalingUtils.pas:Code: Pascal [Select][+][-]{$WARN SYMBOL_PLATFORM OFF}function GetDpiForMonitor( hmonitor: HMONITOR; dpiType: TMonitorDpiType; out dpiX: UINT; out dpiY: UINT ): HRESULT; stdcall; external 'Shcore.dll' {$IFDEF DCC}delayed{$ENDIF};{$WARN SYMBOL_PLATFORM ON}And as components are linked statically in Lazarus, now your Lazarus uses this dll also.
For the laz id, copying where the IDE EXE is.Have fun playing with DLL's from unknow sources.
have you checked the dll exits?start powershell in administrator rights and enterCode: [Select]Get-ChildItem c:\windows -include *.dll -recurse | foreach-object { "{0}" -f [System.Diagnostics.FileVersionInfo]::GetVersionInfo($_) } > "$($env:USERPROFILE)\Desktop\DLL_Versions.txt"This will create a list of your dll windows knows about and send the output to your desktop in a file called DLLVesions.txt ieCode: [Select]File: C:\windows\SysWOW64\SHCore.dllInternalName: SHCOREOriginalFilename: SHCORE.dlFileVersion: 10.0.22621.2715 (WinBuild.160101.0800)FileDescription: SHCOREProduct: Microsoft® Windows® Operating SystemProductVersion: 10.0.22621.2715Debug: FalsePatched: FalsePreRelease: FalsePrivateBuild: FalseSpecialBuild: FalseLanguage: English (United States)It can take a while.. So be patient.
File: C:\windows\SysWOW64\SHCore.dllInternalName: SHCOREOriginalFilename: SHCORE.dllFileVersion: 10.0.19041.3636 (WinBuild.160101.0800)FileDescription: SHCOREProduct: Microsoft® Windows® Operating SystemProductVersion: 10.0.19041.3636Debug: FalsePatched: FalsePreRelease: FalsePrivateBuild: FalseSpecialBuild: FalseLanguage: English (United States)
You can download copies of the 32 and 64 bit versions of the SHCore.dll files on my system from: https://files.brudnopis.ovh/index.php?share/file&user=1&sid=s9Qjmi3X The files are digitally signed by Micrsoft so you can check if they are ok before copying.
Searching the web for "shcore.dll windows 7", however, shows that this dll does not exist for Windows 7