Open shinywong opened 2 years ago
I have a same problem. Even though the cmd window says that WCT successfully injected library into DWM
WinCenterTitle
==============
1. Hook Library Path: C:\WinCenterTitle\WinCenterTitleLibrary.dll
2. Hook Library Entry Point: 0x1e20
3. LoadLibraryW address: -854741280
3. FreeLibrary address: -854754816
4. Found application, PID: 1084
5. Wrote library path in application's memory.
6. Successfully injected library into application.
7. Freed path from application's memory.
8. Found library in application's memory (113/116).
10. Successfully created message window (328536).
I
After a few secs, WinCenterTitle exited. I also tried running it via Task Scheduler, it exited with Last Run Result 0x101.
Probably it's due to Mica effect being implemented for title bar.
@valinet Can you update WinCenterTitle to support 22H2 build?
Unfortunately, @valinet did not respond to both of you for over the past months since WinCenterTitle 1.3.0.0 was released in 2021.
He currently left the repository for a while, to keep focusing on another (non-WinCenterTitle) project, named ExplorerPatcher, which is also created by him.
So if you want to wait for him to respond to you, and to add Win1122H2+ support for WinCenterTitle, you might as well just wait for 5-10 years.
I confirm. Installed 22H2 today and found WinCenterTitle not working, even though it seems that its injected. I really hope it will be fixed; for me this tool is a must-have quality-of-life improvement.
Unfortunately, @valinet did not respond to both of you for over the past months since WinCenterTitle 1.3.0.0 was released in 2021.
He currently left the repository for a while, to keep focusing on another (non-WinCenterTitle) project, named ExplorerPatcher, which is also created by him.
So if you want to wait for him to respond to you, and to add Win1122H2+ support for WinCenterTitle, you might as well just wait for 5-10 years.
Okay then, we'll keep waiting. Let me know if there's a problem
@sysven32 commented on Sep 26, 2022, 10:27 PM GMT+2:
I have a same problem. Even though the cmd window says that WCT successfully injected library into DWM
WinCenterTitle ============== 1. Hook Library Path: C:\WinCenterTitle\WinCenterTitleLibrary.dll 2. Hook Library Entry Point: 0x1e20 3. LoadLibraryW address: -854741280 3. FreeLibrary address: -854754816 4. Found application, PID: 1084 5. Wrote library path in application's memory. 6. Successfully injected library into application. 7. Freed path from application's memory. 8. Found library in application's memory (113/116). 10. Successfully created message window (328536). I
After a few secs, WinCenterTitle exited. I also tried running it via Task Scheduler, it exited with Last Run Result 0x101.
Probably it's due to Mica effect being implemented for title bar.
@valinet Can you update WinCenterTitle to support 22H2 build?
How do you run it as "system" and check the errors. In task scheduler it's shown as "running". But of course there's no way to view console output. Merely running it as admin gives an error: "4. ERROR: Cannot get handle to application."
By the way I'm on Windows 10. 22H2.
@ManiaSonicRUS commented on May 31, 2023, 3:28 PM GMT+2:
I confirm. Installed 22H2 today and found WinCenterTitle not working, even though it seems that its injected. I really hope it will be fixed; for me this tool is a must-have quality-of-life improvement.
Originally posted by @ManiaSonicRUS in https://github.com/valinet/WinCenterTitle/issues/23#issuecomment-1570236912
What OS Win 10 or 11?
@ManiaSonicRUS commented on May 31, 2023, 3:28 PM GMT+2:
I confirm. Installed 22H2 today and found WinCenterTitle not working, even though it seems that its injected. I really hope it will be fixed; for me this tool is a must-have quality-of-life improvement. Originally posted by @ManiaSonicRUS in #23 (comment)
What OS Win 10 or 11?
Both Windows 10 22H2 and Windows 11 22H2
@sysven32 commented on Sep 26, 2022, 10:27 PM GMT+2:
I have a same problem. Even though the cmd window says that WCT successfully injected library into DWM
WinCenterTitle ============== 1. Hook Library Path: C:\WinCenterTitle\WinCenterTitleLibrary.dll 2. Hook Library Entry Point: 0x1e20 3. LoadLibraryW address: -854741280 3. FreeLibrary address: -854754816 4. Found application, PID: 1084 5. Wrote library path in application's memory. 6. Successfully injected library into application. 7. Freed path from application's memory. 8. Found library in application's memory (113/116). 10. Successfully created message window (328536). I
After a few secs, WinCenterTitle exited. I also tried running it via Task Scheduler, it exited with Last Run Result 0x101. Probably it's due to Mica effect being implemented for title bar. @valinet Can you update WinCenterTitle to support 22H2 build?
How do you run it as "system" and check the errors. In task scheduler it's shown as "running". But of course there's no way to view console output. Merely running it as admin gives an error: "4. ERROR: Cannot get handle to application."
you can run it manually with psexec.
wiat noone got to 11? i'm on 24H2 but not crashed
I have a same problem. Even though the cmd window says that WCT successfully injected library into DWM
WinCenterTitle ============== 1. Hook Library Path: C:\WinCenterTitle\WinCenterTitleLibrary.dll 2. Hook Library Entry Point: 0x1e20 3. LoadLibraryW address: -854741280 3. FreeLibrary address: -854754816 4. Found application, PID: 1084 5. Wrote library path in application's memory. 6. Successfully injected library into application. 7. Freed path from application's memory. 8. Found library in application's memory (113/116). 10. Successfully created message window (328536). I
After a few secs, WinCenterTitle exited. I also tried running it via Task Scheduler, it exited with Last Run Result 0x101.
Probably it's due to Mica effect being implemented for title bar.
@valinet Can you update WinCenterTitle to support 22H2 build?
in source code 0x101 means GET_SYOMBOLS_ERROR.
if (VnGetSymbols(
szSettingsPath,
addresses,
symbolNames,
NUMBER_OF_REQUESTED_SYMBOLS
))
{
FreeLibraryAndExitThread(
hModule,
GET_SYMBOLS_ERROR
);
return GET_SYMBOLS_ERROR;
}
and mine is not exited even after few sec. is this occurred ononly 22H2? any ideas?
@MuscularPuky commented on Jun 19, 2023, 1:53 PM GMT+2:
@sysven32 commented on Sep 26, 2022, 10:27 PM GMT+2: you can run it manually with psexec.
I'm unfamiliar with it. What command do you use?
Is there a way to run this on w11 22h2 or when I looked through the codes, I didn't understand much
@ManiaSonicRUS commented on May 31, 2023, 3:28 PM GMT+2:
I confirm. Installed 22H2 today and found WinCenterTitle not working, even though it seems that its injected. I really hope it will be fixed; for me this tool is a must-have quality-of-life improvement. Originally posted by @ManiaSonicRUS in #23 (comment)
What OS Win 10 or 11?
I am on Windows 11 22H2 (22621.1778) and yup I can't get it working. On 11 21H2 WinCenterTitle worked perfectly.
@ManiaSonicRUS commented on May 31, 2023, 3:28 PM GMT+2:
I confirm. Installed 22H2 today and found WinCenterTitle not working, even though it seems that its injected. I really hope it will be fixed; for me this tool is a must-have quality-of-life improvement. Originally posted by @ManiaSonicRUS in #23 (comment)
What OS Win 10 or 11?
I am on Windows 11 22H2 (22621.1778) and yup I can't get it working. On 11 21H2 WinCenterTitle worked perfectly.
i found the reason for it in 22h2 CText::ValidateResources and CText::UpdateAlignmentTransform cannot center text because it has no values
In 22H2, these values have changed, we need to find out where it is, then compile the wincentertitle project and add those codes into it so that the title text is centered.
@emre93a commented on Jul 5, 2023, 1:23 PM GMT+2:
In 22H2, these values have changed, we need to find out where it is, then compile the wincentertitle project and add those codes into it so that the title text is centered.
Yeah, but who is capable of that?
@emre93a commented on Jul 5, 2023, 1:23 PM GMT+2:
In 22H2, these values have changed, we need to find out where it is, then compile the wincentertitle project and add those codes into it so that the title text is centered.
Yeah, but who is capable of that?
I already tried last month but didnt have funchook
@emre93a commented on Jul 5, 2023, 1:23 PM GMT+2:
In 22H2, these values have changed, we need to find out where it is, then compile the wincentertitle project and add those codes into it so that the title text is centered.
Yeah, but who is capable of that?
I already tried last month but didnt have funchook
ok you send me the project i'll take care of funchook either send the codes or the files I'll take care of the rest
i found a fork that has working funchook and libvalinet, i got it working and if you're trying to make a working fork of the project i would reccomend checking this out https://github.com/dkjnsdvsodvnosdvm/WinCenterTitle edit: only reason i wouldnt use it is because it has aero glass which can slow down window dragging sometimes
@scotdotwtf commented on Jul 18, 2023, 12:17 AM GMT+2:
i found a fork that has working funchook and libvalinet, i got it working and if you're trying to make a working fork of the project i would reccomend checking this out https://github.com/dkjnsdvsodvnosdvm/WinCenterTitle edit: only reason i wouldnt use it is because it has aero glass which can slow down window dragging sometimes
Originally posted by @scotdotwtf in https://github.com/valinet/WinCenterTitle/issues/23#issuecomment-1638964180
It works poorly. Looks bad for me. Got a translucent titlebar, with highlighted (brown background) text by the looks of it. Formerly It merely moved the text to the middle. It also messed up the desktop. The image and gadgets became blurred.
Also dragging a window became slow motion with sever seconds of delay.
i found a fork that has working funchook and libvalinet, i got it working and if you're trying to make a working fork of the project i would reccomend checking this out https://github.com/dkjnsdvsodvnosdvm/WinCenterTitle edit: only reason i wouldnt use it is because it has aero glass which can slow down window dragging sometimes
so does it work on windows 11 22h2?
while I don't know if it works on windows 11 22h2 I do want to say I agree it works poorly but the good thing is on there github you can see they have a (hopfully) fixed version of funchook: https://github.com/dkjnsdvsodvnosdvm/funchook. I think you could use this and other snippets from the other repository to develop a fixed version of WinCenterTitle.
Symbols are downloaded, but title bar texts are not centered.
WinCenterTitle version: 1.3.0.0.