You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
ppInk won't start after the latest Windows 11 Update #346
UnhandledException version1.9.0.20295 built on30/04/202411:16 Oops,pplnk crashed!Please include the following information if you plan to contact the developers:安全透明方法” Microsoft.Ink.DrawingAttributes.set_Color(System.Drawing.Color)"过方法"Microsoft.Ink.lInkDrawingAttributes.set Color(lnt32)"调用本机代码失败。方法必须是安全关键的或安全可靠关键的,才能调用本机代码。 Stack Trace: Microsoft.Ink.DrawingAttributes.set_Color(Color value)在glnk.Root.SetDefaultPens0位置E\ppink.src\pplnk\src\Root.cs:行号 912在glnk.Root.ctor0位置E\ppink.src\pplnk\src\Root.cs行号518在glnk.Program.Main(String0args)位置 E\ppink.src\pplnk\src\Program.cs:行号92ⅢDo you want to Quit?
@pubpub-zz , Hey I’m also experiencing the exact same issue as OP. It only started happening 1–2 days ago after a Windows update. The app crashes immediately at launch. btw I am long time user of ppInk and never had any issue... this only started now. It’s the exact same error as OP reported. Here is my screenshot
From my analysis, the issue has been raised by some security changes in .NET.
I've tried to work on the options in ppink.exe.config without success. Any help will be welcomed
After lot of analysis and support from Mistral.ai I came to the conclusion that ... I have no good solution 😣😣😣😣
It looks like there is no way to preven GAC_64 dll to be used.
I've therefore produce a new package where an "old" (version from july25) attached and a script install_microsoft_ink_dll.batto be run as administrator that will overwrite the failing dll (the original file is renamed as microsoft.ink.dll.sav )
I've tried it successfully. This script may have to be run at each windows update... until microsoft fix its regression...😓
After lot of analysis and support from Mistral.ai I came to the conclusion that ... I have no good solution 😣😣😣😣 It looks like there is no way to preven GAC_64 dll to be used. I've therefore produce a new package where an "old" (version from july25) attached and a script install_microsoft_ink_dll.batto be run as administrator that will overwrite the failing dll (the original file is renamed as microsoft.ink.dll.sav ) I've tried it successfully. This script may have to be run at each windows update... until microsoft fix its regression...😓
Hello, Thank you and congratulations. It's great that you managed to work around the problem (a little), while waiting for Microsoft to fix it. In my case, using a fork, I unfortunately cannot take advantage of your solution. Perhaps you could publish the July 2025 version on a public branch. I could then (maybe / eventually / with luck) manage to implement the same solution on my fork.
After lot of analysis and support from Mistral.ai I came to the conclusion that ... I have no good solution 😣😣😣😣 It looks like there is no way to preven GAC_64 dll to be used. I've therefore produce a new package where an "old" (version from july25) attached and a script install_microsoft_ink_dll.batto be run as administrator that will overwrite the failing dll (the original file is renamed as microsoft.ink.dll.sav ) I've tried it successfully. This script may have to be run at each windows update... until microsoft fix its regression...😓
Activity
pubpub-zz commentedon Aug 21, 2025
a) can you please provide more details on the actions you were doing.
b) can you try to reproduce the error with the latest beta version:
https://github.com/user-attachments/files/20534191/ppInk_InvisibleTextDlg.zip
pubpub-zz commentedon Aug 25, 2025
without any update I will close as Can't repro
cww666666 commentedon Aug 25, 2025
cww666666 commentedon Aug 25, 2025
用你发的这样链接的测试版, 仍出现同样的错误提示, 不行
pubpub-zz commentedon Aug 27, 2025
Is this error occurs immediately after starting the program? when opening the toolbar? other?
are you using the default parameters ?
PS: can you reply in english. this is more standard on this project for other users
PPS . error reproduced on my computer, under analysis
cww666666 commentedon Aug 27, 2025
The error message appears when you start running the program.
I didn't use the default parameters, but customized brushes, shortcut keys and so on.
cww666666 commentedon Aug 27, 2025
But the same error occurs when running the version of the program with the default settings you provided.
pubpub-zz commentedon Aug 28, 2025
for information on my computer the .NET update (KB5064401) introduced the issue.
I have no information yest if KB5064081 produces the issue
cww666666 commentedon Aug 28, 2025
Is it a problem caused by KB5064081 update of win11?
cww666666 commentedon Aug 28, 2025
Build2Sky commentedon Aug 30, 2025
I just wanted to say I have been using this annotation software for years and it has been great. Thank you for your hard work.
I can also confirm that with the KB5064081 on windows 11 the software does not work.
denrinm commentedon Aug 30, 2025
@pubpub-zz , Hey I’m also experiencing the exact same issue as OP. It only started happening 1–2 days ago after a Windows update. The app crashes immediately at launch. btw I am long time user of ppInk and never had any issue... this only started now. It’s the exact same error as OP reported. Here is my screenshot
[-]Win11启动报错,无法运行[/-][+] ppInk won't start after the latest Windows 11 Update[/+]pubpub-zz commentedon Aug 31, 2025
From my analysis, the issue has been raised by some security changes in .NET.
I've tried to work on the options in ppink.exe.config without success. Any help will be welcomed
63 remaining items
NianNianbird commentedon Oct 3, 2025
I'll never update Windows again. It's such an attractive tool that I can't experience right away. btw, gInk has the same crash problem.
snitz51 commentedon Oct 3, 2025
@pubpub-zz If it helps, here's a error while using the forced Microsoft dll version
pubpub-zz commentedon Oct 5, 2025
I've not been able to force the loading of the local DLL. The DLL from the GAC_64 is always loaded first
pubpub-zz commentedon Oct 6, 2025
After lot of analysis and support from Mistral.ai I came to the conclusion that ... I have no good solution 😣😣😣😣
It looks like there is no way to preven GAC_64 dll to be used.
I've therefore produce a new package where an "old" (version from july25) attached and a script
install_microsoft_ink_dll.batto be run as administrator that will overwrite the failing dll (the original file is renamed as microsoft.ink.dll.sav )I've tried it successfully. This script may have to be run at each windows update... until microsoft fix its regression...😓
ppInk_replace_microsoft_ink_dll.zip
vucaodien09 commentedon Oct 7, 2025
I ran install_microsoft_ink_dll.bat as an Administrator, and I can confirm that this allowed me to run older versions of pplnk.
fakirsu commentedon Oct 7, 2025
Hello, Thank you and congratulations. It's great that you managed to work around the problem (a little), while waiting for Microsoft to fix it. In my case, using a fork, I unfortunately cannot take advantage of your solution. Perhaps you could publish the July 2025 version on a public branch. I could then (maybe / eventually / with luck) manage to implement the same solution on my fork.
yodaphone commentedon Oct 8, 2025
sadly, this doesnt work for me, still the same error. I''m on Win 11 25H2
pubpub-zz commentedon Oct 8, 2025
@yodaphone
Can you check the result of the script?
yodaphone commentedon Oct 8, 2025
that worked.. i'm able to use ppink, thank you.
MNT : attempts to cope with windows updat
fakirsu commentedon Oct 19, 2025
Hello,
It seems there is some interesting news for our problem: https://blogs.windows.com/windows-insider/2025/10/16/announcing-windows-11-insider-preview-build-27972-canary-channel/ I haven't tested it because I don't have CANARY, but I think it's good news right?
RGhost77 commentedon Nov 1, 2025
Preview Update (KB5067036) (26200.7019) fixed this issue for me. Windows 11 25H2
anirudh12032008 commentedon Nov 13, 2025
getting this error after running the script and rerunning, the file did copied successfully
pubpub-zz commentedon Nov 13, 2025
this was tracked and fixed in #357.
The correction
You should find the fix included in the latest beta version available in #370