D4koon / WhatsappTray

Minimize Whatsapp Desktop-Client to Tray
GNU General Public License v3.0
388 stars 30 forks source link

Windows 7 screen-scaling problem #69

Closed jvidalw closed 2 years ago

jvidalw commented 3 years ago

Hi, I just installed v1.6.1 and it won't launch, complaining that api-ms-win-shcore-scaling-l1-1-1.dll is missing. v1.6.0 worked, besides complaining that it couldn't launch whatsapp , which it did any way (before crashing, though). What changed between v1.6 and v1.6.1????

D4koon commented 3 years ago

Hi what operating system do you have?

jvidalw commented 3 years ago

Win 7 x64. Does v1.6.1 require a newer version? 'cos v1.6.0 worked (sort of) on Win7

D4koon commented 3 years ago

I added some code to handle win10/8 desktop scaling. Im not sure if i will fix this and how. For now i would downgrade to an older version

jvidalw commented 3 years ago

thanks. something similar happened with gpu caps viewer, the author fixed it in no time. hope you can too... there should probably be an OS version check, before calling the routine that handles scaling. if OS<win8 then skip scaling.

kipusoep commented 3 years ago

@jvidalw you should probably run a supported OS, instead of a 11 year old one 😉

D4koon commented 3 years ago

Please try this debug-version and report back if it works. Thanks WhatsappTrayV1.6.2.1.zip

jvidalw commented 3 years ago

Thx, i'll try it. I tried v1.6.2 (released yesterday) and the problem persisted. I'll report my findings with this debug version.El 05-11-2020 15:24, D4koon notifications@github.com escribió: Please try this debug-version and report back if it works. Thanks WhatsappTrayV1.6.2.1.zip

—You are receiving this because you were mentioned.Reply to this email directly, view it on GitHub, or unsubscribe.

rfabbro commented 3 years ago

Hi, I'm on Win 8 x64. v1.6.2 can't start because of "api-ms-win-shcore-scaling-l1-1-1.dll" missing. After putting "api-ms-win-shcore-scaling-l1-1-1.dll" in the installation directory I still get "Error loading Hook.dll". With v1.6.2.1 I get the following results:

D4koon commented 3 years ago

Hi, I'm on Win 8 x64. v1.6.2 can't start because of "api-ms-win-shcore-scaling-l1-1-1.dll" missing. After putting "api-ms-win-shcore-scaling-l1-1-1.dll" in the installation directory I still get "Error loading Hook.dll". With v1.6.2.1 I get the following results:

  • no more error with Hook.dll
  • Whatsapp window shows up for a few seconds while connecting (loading animation), then it disappears. What actually happened is that Whatsapp has ended. It doesn't appear in the task manager.
  • Tray icon appeared at the same time as the Whatsapp loading window, and it stays there. When right-clicked it shows the usual menu. When I click on Restore Window nothing happens. I'm attaching the latest log file. Thanks! Log_2020-11-11_12#32#58.txt

Do you still have the api-ms-win-shcore-scaling-l1-1-1.dll in the directory? If so please delete and try again

It looks like Whatsapp is crashing after: 12:33:00.675 - Hook> WhatsappTrayHook::Init: Attached hook.dll to ProcessID: 0x000019C8 But the messages from the hook are async so im not 100% sure it is really exactly there. This probably needs a debug-version to figure out whats going on

rfabbro commented 3 years ago

Thanks for answering. Sorry I didn't mention it before: I removed the api-ms-win-shcore-scaling-l1-1-1.dll from the installation directory before installing v. 1.6.2.1. Now I'm back using version 1.4.3.0 that had stopped working after one of Whatsapp's updates a few days ago but now works again. Before this reply I installed again v.1.6.2.1 and the result was the same as I described in my first post. If you make a debug version I'll gladly test it.

D4koon commented 2 years ago

Sorry for not answering anymore, if this there is still a problem with v1.9.0, open an new issue