azslow3
I am glad you have finally found the reason
So, that API can malfunction because of user specific settings... good to know. I had already observed user specific issues with network authentications. But for local thing that is the first time.
Me too. The user on Windows 10 was in some way corrupted. And now I finally solved the issue with copying my whole user files and settings. I've used Transwiz. Perfect!!!
If you want to know, how I started my investigation:
1. Firstly I've downloaded Dependency walker (the original version of program, the link on fork of which you gave me before).
2. Then I copied one of the dll library names, which was broken.
3. This followed me on Microsoft support site, where I found 2 solutions: sfc scan via command line and new user.
4. The first solution didn't give me any effective results.
5. The second one was what I need!
6. The next problem was how to copy all the settings.
7. After that I found Transwiz and now I feel like Sherlock Holmes!