snowie2000 / mactype

Better font rendering for Windows.
https://mactype.net
GNU General Public License v3.0
10.08k stars 442 forks source link

x64 programs are not automatically rendered with MacType in 2018.10.19 beta #478

Open eroneko opened 5 years ago

eroneko commented 5 years ago

I clean installed mactype 10.19 beta and selected registry mode but could ony get x86 programs to be automatically rendered with mactype. Manually enabling x64 programs with mactype in process manager is working. I'm using Windows 10 1809 LTSC. qq 20181123203018

snowie2000 commented 5 years ago

You should check your registry for correction, which is kind of complicated.

Try this easy solution: Start->Run->MacType64.dll, it should give you a warning of opening a DLL file or ask you to select a program to open it. If it cannot find the file, there is something wrong with your environment variable settings.

Then you should check what in the registry position described here: https://support.microsoft.com/en-gb/help/197571/working-with-the-appinit-dlls-registry-value Post what that is to see if we can help.

eroneko commented 5 years ago

You should check your registry for correction, which is kind of complicated.

Try this easy solution: Start->Run->MacType64.dll, it should give you a warning of opening a DLL file or ask you to select a program to open it. If it cannot find the file, there is something wrong with your environment variable settings.

Then you should check what in the registry position described here: https://support.microsoft.com/en-gb/help/197571/working-with-the-appinit-dlls-registry-value Post what that is to see if we can help.

For the first solution, it does give me a warning of opening a dll file so maybe it has nothing to do with my environment variable settings. These are what I have in HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Windows qq 20181123212922

snowie2000 commented 5 years ago

Appinit_dlls must have a "mactype64.dll" in it. It was probably denied by your security software.

Write to it manually should fix the problem.

eroneko commented 5 years ago

Appinit_dlls must have a "mactype64.dll" in it. It was probably denied by your security software.

Write to it manually should fix the problem.

I have no anti-virus program installed and I even disabled windows defender. That's so weird that mactype can't access the registry.

sammilucia commented 5 years ago

I had this problem when I first installed MacType .. MacWiz said it was already in Registry Mode, however AppInit_DLLs wasn't set .. And clicking Next Next Finish in MacWiz (in Registry Mode) didn't add it.

eroneko commented 5 years ago

Under HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Windows NT\CurrentVersion\Windows MacType.dll was correctly added in AppInit_DLLs.

snowie2000 commented 5 years ago

That's why your x86 applications are working correctly.

On Sat, Nov 24, 2018 at 21:24 eroneko notifications@github.com wrote:

Under HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Windows NT\CurrentVersion\Windows MacType.dll was correctly added in AppInit_DLLs.

— You are receiving this because you commented.

Reply to this email directly, view it on GitHub https://github.com/snowie2000/mactype/issues/478#issuecomment-441367710, or mute the thread https://github.com/notifications/unsubscribe-auth/ALONlSNIEELffPcIEOAHZ_pHEfKmd1FGks5uyUh4gaJpZM4YwluF .

snowie2000 commented 5 years ago

I had this problem when I first installed MacType .. MacWiz said it was already in Registry Mode, however AppInit_DLLs wasn't set .. And clicking Next Next Finish in MacWiz (in Registry Mode) didn't add it.

That's because the wizard only checks the x86 part of the registry. If it successfully found the expected key, it treats the start mode as registry mode.

When you didn't change the loading mode (at least the wizard thinks so), it does nothing.

sammilucia commented 5 years ago

Yes I know ... I just suspect there's a set of conditions where MacWiz thinks it's in Registry Mode but MacType isn't actually working.

sammilucia commented 5 years ago

@snowie2000 Maybe I should clear both registry areas when installing the latest version? ... Yes, I need to add this function.

sammilucia commented 5 years ago

@snowie2000 MacWiz should also be checking both registry strings and making sure they're consistent.

sammilucia commented 5 years ago

@snowie2000 I assume it will only be MacType.dll (not MacType64.dll) that appears in HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows NT\CurrentVersion\Windows ?

snowie2000 commented 5 years ago

Yes, wow6432node only needs the mactype.dll file

I'll complete the check.

sammilucia commented 5 years ago

@snowie2000 yep confirmed. Changes to the installer are done, I'll commit them shortly

sammilucia commented 5 years ago

@snowie2000 should be pushed. As you know I've been having SSL problems which should now be fixed. Can you please confirm you can see that commit on Inno-setup branch?

You can merge the Inno-setup branch if you want

snowie2000 commented 5 years ago

Samantha Glocker | 571ced09bc Added clean-up of 32-bit AppInit_DLLs | 5 hours ago Samantha Glocker | 183f2429f9 Icons added | 4 days ago

Confirmed.

sammilucia commented 5 years ago

Great thank you.

snowie2000 commented 5 years ago

I pushed a new version of mactray.exe together with languages update. Loading mode detection is improved and that balloon tip is now included in the .lng files. (I did the translation but you're always welcome to improve it).

The next thing to do is to show the internal version instead of the file version. After that, I think we can push another beta and move to RC if no important bug is found.

sammilucia commented 5 years ago

@snowie2000 okay no problems. I cannot see the commit in dbg

fonlan commented 5 years ago

Pick a small stool to wait for the new beta^_^

sergeevabc commented 5 years ago

New beta is released. Does it resolve the complication?

Ray-Eldath commented 5 years ago

No more update on this project...?