Stand alone DLL?
-
I made a C++ dll containing a hook but my users are reporting a problem with it "the application has failed to start because its side-by-side configuration is incorrect" and from googling this, it seems my users need to have the VC++ redistributable files for my dll to work. How can I make the dll standalone? If I set "Use MFC in a static library" (I read this is the miracle setting), the linker bitches about not finding "__imp__SetWindowsHookExA@16" and a lot of others. How to configure VC++ in order for this to work? Also, this is a hook mapped to every processes. If the dll becomes static, it's going to be fairly large and it's probably not good. How do I know what VC++ redistributable dll I need to distribute with my program? (No I don't want to use the MS deployment MSI crap, I'm distributing my program with a NSIS installer). Thanks!