Giter Site home page Giter Site logo

Comments (12)

xomx avatar xomx commented on July 22, 2024 1

DPIManagerV2::loadIcon(_hInst, MAKEINTRESOURCE(iconID), cx, cy, &hIcon, LR_DEFAULTSIZE);
if (!hIcon)
throw std::runtime_error("IconList::addIcon : LoadIcon() function return null");

@ozone10
Looks like we should offer also some alternative way. (problem is probably the COMMCTRL lib LoadIconWithScaleDown, it should be supported from the WinVista+ / WinServer2008+ but apparently there could be a problem with it)

from notepad-plus-plus.

Pmalhotra2024 avatar Pmalhotra2024 commented on July 22, 2024 1

Windows Server 2022 Core is a windows server without Desktop Experience feature.
It only provides PowerShell Terminal to run and launch apps from command line.
Notepad++ version 8.6.7 is working fine with Core machines. Only new update is crashing.

from notepad-plus-plus.

xomx avatar xomx commented on July 22, 2024 1

@donho

let me know if v8.6.8 works under your Win7

npp-Win7-v868portable-x64

@rkwk
You could try to update/reinstall your installation of the MS Common Controls (COMCTL32) library on your Win7.

from notepad-plus-plus.

Pmalhotra2024 avatar Pmalhotra2024 commented on July 22, 2024 1

@Pmalhotra2024 Thank you for the information. Does only Windows 2022 Server come with "Sever Core" version?

@ozone10 I guess we need to distinguish Windows Server 2022 Core (and other previous versions) from the other Windows, for DPIManagerV2::loadIcon().

@Pmalhotra2024 Thank you for the information. Does only Windows 2022 Server come with "Sever Core" version?

@ozone10 I guess we need to distinguish Windows Server 2022 Core (and other previous versions) from the other Windows, for DPIManagerV2::loadIcon().

@Pmalhotra2024 Thank you for the information. Does only Windows 2022 Server come with "Sever Core" version?

@ozone10 I guess we need to distinguish Windows Server 2022 Core (and other previous versions) from the other Windows, for DPIManagerV2::loadIcon().

Windows Core editions are available since Windows Server 2016 was launched
Windows_Server-2016-English-Core
Windows_Server-2019-English-Core
Windows_Server-2022-English-Core

from notepad-plus-plus.

rkwk avatar rkwk commented on July 22, 2024

Same on Windows 7.

from notepad-plus-plus.

donho avatar donho commented on July 22, 2024

Minimum supported server | Windows Server 2008 [desktop apps only]
If server 2008 is supported by LoadIconWithScaleDown, I wonder how & why server 2022 is not.
But here is Windows Core Server 2022, so it could be the different between "Windows Server" and "Windows Server Core".

Anyone here who has Window Server experience are welcome to provide his/her opinion.

from notepad-plus-plus.

donho avatar donho commented on July 22, 2024

Same on Windows 7.

OTOH, LoadIconWithScaleDown SOULD work on Windows 7. It might be an isolated case IMO.

I will manage to get a Windows 7 VM for reproducing it. In the meantime, for people who are under Windows 7, please let me know if v8.6.8 works under your Win7.

from notepad-plus-plus.

donho avatar donho commented on July 22, 2024

@Pmalhotra2024
Thank you for the information.
Does only Windows 2022 Server come with "Sever Core" version?

@ozone10
I guess we need to distinguish Windows Server 2022 Core (and other previous versions) from the other Windows, for DPIManagerV2::loadIcon().

from notepad-plus-plus.

donho avatar donho commented on July 22, 2024

@Pmalhotra2024
Could you check the PR #15314 and confirm me if crash has been fixed?

from notepad-plus-plus.

Pmalhotra2024 avatar Pmalhotra2024 commented on July 22, 2024

Unfortunately it is still crashing with same error.

image

from notepad-plus-plus.

donho avatar donho commented on July 22, 2024

@Pmalhotra2024
Please try the PR #15315

from notepad-plus-plus.

donho avatar donho commented on July 22, 2024

@Pmalhotra2024
In case that #15315 doesn't work to you, could you try #15316 ?
It contains debug info for letting us understand why the crash happen.

from notepad-plus-plus.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.