Skip to content

ppInk won't start after the latest Windows 11 Update #346

Closed

Description

@cww666666
Image

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?

Activity

  1. pubpub-zz commented on Aug 21, 2025

    @pubpub-zz
    Owner

    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

  2. pubpub-zz commented on Aug 25, 2025

    @pubpub-zz
    Owner

    without any update I will close as Can't repro

  3. cww666666 commented on Aug 25, 2025

    @cww666666
    Author
    Image 就是在8月15日安装了这两个系统更新后就这样了, 我另一电脑上安装这更新后也这样了,我将更新卸载就没问题了
  4. cww666666 commented on Aug 25, 2025

    @cww666666
    Author

    用你发的这样链接的测试版, 仍出现同样的错误提示, 不行

  5. pubpub-zz commented on Aug 27, 2025

    @pubpub-zz
    Owner

    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

  6. cww666666 commented on Aug 27, 2025

    @cww666666
    Author

    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.

  7. cww666666 commented on Aug 27, 2025

    @cww666666
    Author

    But the same error occurs when running the version of the program with the default settings you provided.

  8. pubpub-zz commented on Aug 28, 2025

    @pubpub-zz
    Owner

    for information on my computer the .NET update (KB5064401) introduced the issue.
    I have no information yest if KB5064081 produces the issue

  9. cww666666 commented on Aug 28, 2025

    @cww666666
    Author

    Is it a problem caused by KB5064081 update of win11?

  10. cww666666 commented on Aug 28, 2025

    @cww666666
    Author
    Image It should be the problem caused by this update.
  11. Build2Sky commented on Aug 30, 2025

    @Build2Sky

    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.

  12. denrinm commented on Aug 30, 2025

    @denrinm

    @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

    Image
  13. changed the title [-]Win11启动报错,无法运行[/-] [+] ppInk won't start after the latest Windows 11 Update[/+] on Aug 31, 2025
  14. pubpub-zz commented on Aug 31, 2025

    @pubpub-zz
    Owner

    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

  15. 63 remaining items

  16. NianNianbird commented on Oct 3, 2025

    @NianNianbird

    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.

  17. snitz51 commented on Oct 3, 2025

    @snitz51

    @pubpub-zz If it helps, here's a error while using the forced Microsoft dll version

    Image
  18. pubpub-zz commented on Oct 5, 2025

    @pubpub-zz
    Owner

    @pubpub-zz If it helps, here's a error while using the forced Microsoft dll version
    Image

    I've not been able to force the loading of the local DLL. The DLL from the GAC_64 is always loaded first

  19. pubpub-zz commented on Oct 6, 2025

    @pubpub-zz
    Owner

    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.bat to 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

  20. vucaodien09 commented on Oct 7, 2025

    @vucaodien09

    I ran install_microsoft_ink_dll.bat as an Administrator, and I can confirm that this allowed me to run older versions of pplnk.

  21. fakirsu commented on Oct 7, 2025

    @fakirsu

    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.bat to 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

    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.

  22. yodaphone commented on Oct 8, 2025

    @yodaphone

    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.bat to 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

    sadly, this doesnt work for me, still the same error. I''m on Win 11 25H2

    Image
  23. pubpub-zz commented on Oct 8, 2025

    @pubpub-zz
    Owner

    @yodaphone
    Can you check the result of the script?

  24. yodaphone commented on Oct 8, 2025

    @yodaphone

    @yodaphone Can you check the result of the script?

    that worked.. i'm able to use ppink, thank you.

  25. fakirsu commented on Oct 19, 2025

    @fakirsu

    Hello,

    Image

    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?

  26. RGhost77 commented on Nov 1, 2025

    @RGhost77

    Preview Update (KB5067036) (26200.7019) fixed this issue for me. Windows 11 25H2

  27. anirudh12032008 commented on Nov 13, 2025

    @anirudh12032008

    getting this error after running the script and rerunning, the file did copied successfully

    Image
  28. pubpub-zz commented on Nov 13, 2025

    @pubpub-zz
    Owner

    this was tracked and fixed in #357.
    The correction
    You should find the fix included in the latest beta version available in #370

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinghelp wantedExtra attention is needed

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions