A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
Hello @Christopher Judge ,
Thanks for your question.
Is this a known issue with KB5094126?
Yes. Your C++ code is completely correct. The June 2026 update (KB5094126) introduced strict security changes that break how older software components load and operate.
Could it be related to the known issue with opening Office applications via OLE Automation from third party applications?
Both issues share the same root cause. The Windows update accidentally blocked older communication methods (COM and OLE Automation). Looking at your debug log, the freeze happens in Print.PrintSupport.Source.dll. When your chart loads, it tries to talk to the Windows Printer system to check layout settings. Because of the new update, Windows blocks this connection, causing your application to wait forever and freeze (a deadlock).
Are there plans to fix this regression?
Yes. Microsoft is aware that this update broke many third-party integrations (including Office OLE automation). They are actively working on fixes, which are expected in the upcoming update cycle.
Is there a workaround for legacy OCX controls?
Since uninstalling the update or changing the OCX is not an option right now, please try this workaround based on your debug logs:
- On the affected computer, change the Default Windows Printer to a virtual software printer (like "Microsoft Print to PDF"). Alternatively, temporarily stop the Print Spooler service entirely. This stops the chart from trying to contact a physical printer during startup, allowing it to load successfully so your app does not freeze.
For more information, you can refer to June 9, 2026—KB5094126 (OS Builds 26200.8655 and 26100.8655) and Dynamic-Link Library Best Practices.
I hope this addresses your question. If this response was helpful, please consider following the guidance to provide feedback.