Thread: UserMgr Plugin
View Single Post
Old 30th May 2021, 12:09   #56
Major Dude
JasonFriday13's Avatar
Join Date: May 2005
Location: New Zealand
Posts: 923
Originally Posted by Kanelo View Post
NOTEĀ²: I used VS2019 to compile this, so if you use the included unicode/ansi dll file you need to install "Microsoft Visual C++ Redistributable for Visual Studio 2015, 2017 and 2019" before the use on a machine!
That's easy to fix, in the project settings under code generation, change the runtime library to /MT. That statically links the C/C++ runtime so that it runs on any machine. The downside is that it increases the size of the DLL alot, but for compatibility it's a compromise worth doing.

"Only a MouseHelmet will save you from a MouseTrap" -Jason Ross (Me)
Wiki Profile
JasonFriday13 is offline   Reply With Quote