Welcome to windoze (pun intended!
🐵Even if you think they are similar they are not, why else woul you get the failure only on some. Determining the diffirence is the issue thou.
You might try running dependancy walker that shows you all the dependant .dll that your application calls and then determine the diffirences in the .dll's being referenced. It's a microsoft product shipped with their development systems. If you can not find i let me know.
Jattie van der Linde
Engineering Manager, Software & Automation
TEL Magnetic Solutions Ltd