Vortesys / Program-Manager-II

Program Manager II, a new shell for Windows.
https://vortesys.github.io/progmgr/
MIT License
46 stars 4 forks source link

Shutdown/Exit Windows menu options do not work when Progman as shell on Server 2022 Core #2

Open win98se opened 2 years ago

win98se commented 2 years ago

image image

Clicking on both options did nothing. I have to use the Run option and execute e.g. shutdown -s -t 0, shutdown -r -t 0, shutdown -l, etc. as alternatives.

FYI, I am testing this program as a shell replacement on Windows Server 2022 Core.

freedom7341 commented 2 years ago

Program Manager uses the shell32 shutdown dialog which seems to not be available in Server Core. Will install Server Core in a VM and test what alternatives are available. If I don't see anything I'll have to check for the availability of the shutdown dialog and if it's not present then I'll re-include the classic dialogs that I removed.

win98se commented 2 years ago

Hijacking this issue (because the Discussions tab is not open) - I got three errors when compiling.

1>C:\Users\???\source\repos\Progman\pmcomman.c(656,18): error C2065: 'IDM_NEWITEM': undeclared identifier
1>C:\Users\???\source\repos\Progman\pmcomman.c(660,19): error C2065: 'IDM_NEWGROUP': undeclared identifier
1>C:\Users\???\source\repos\Progman\pmcomman.c(664,23): error C2065: 'IDM_NEWCOMMGROUP': undeclared identifier

Do you have any idea what caused the errors, and any way to solve it?

freedom7341 commented 2 years ago

I may not have updated the resource file properly. Will look into it tonight.

freedom7341 commented 2 years ago

Hijacking this issue (because the Discussions tab is not open) - I got three errors when compiling.

1>C:\Users\???\source\repos\Progman\pmcomman.c(656,18): error C2065: 'IDM_NEWITEM': undeclared identifier
1>C:\Users\???\source\repos\Progman\pmcomman.c(660,19): error C2065: 'IDM_NEWGROUP': undeclared identifier
1>C:\Users\???\source\repos\Progman\pmcomman.c(664,23): error C2065: 'IDM_NEWCOMMGROUP': undeclared identifier

Do you have any idea what caused the errors, and any way to solve it?

Should be fixed now

win98se commented 2 years ago

I finally managed to get it compiled, thank you. However, the New option at my side is the old one. 🤔

freedom7341 commented 2 years ago

Should be fine for now. Going to button up the shutdown issue when I can get to it, haven't had very much time with school and work.

freedom7341 commented 1 year ago

New shutdown dialog is underway.