News for hackers. Stuff that matters.
Re:Making Your Game Go Fast by Asking Windows Nicely by Const-me on Sunday January 16, 2022 @07:48PM (#29962129)
Can it be that you linked to one of these libraries, but never called any function from that DLL, so your linker dropped the unused DLL dependency?

However, I don't really like that method. The app will fail to launch on computers without nVidia drivers, complaining about the missing DLL. For languages like C++ or Rust, the exported DWORD variable is the best way to go. The only reason I bothered with custom installer actions, that method wasn't available.

Re:Making Your Game Go Fast by Asking Windows Nicely by masonremaley on Sunday January 16, 2022 @08:19PM (#29962306)
Hmm. I think I tried calling into their API to rule that out--but, it's been a while, so it's 100% possible I remember incorrectly which would explain why it didn't work!