coyotecraft":dbeeuezh said:
Can't play the demo. Missing VCRUNTIME140D.dll
This old one.
Heretic86 in Visual Studio you need to right-click on your project in the left-pane, go to properties.
At the top, set configuration to Release and Platform should be Win32 (if there's multiple options, select all platforms, makes no difference but Win32 is the important one for RPG Maker as it's 32 bit).
Expand the C/C++ option on the left, then hit All Options and search for "runtime library" in the search box. Change it from whatever option it is to "Multi-threaded (/MT)" - notice the DLL part is gone.
Then, at the top again, set configuration to Debug and change the "runtime library" option to "Multi-threaded Debug (/MTd)" - again, notice the DLL part is gone.
Now compile the DLL again, this time the run-time DLL dependencies (VCRuntime) will not be included (Your DLL should be bigger in file size because of this).
Also, the error was "Missing VCRUNTIME140D.dll" - that capital D shows you distributed the debug version, which is okay (means you can debug it if you have the source code as all the symbols are there) - but it's not optimised so you're losing performance.
To compile in release mode, in Visual Studio at the top look for the green play button, then at the left should be two drop-down boxes, one should say [Debug] and the other [Win32] or something like that. Change the one on the left (Debug) to Release, then hit F7 to build the solution. That should create a Release folder somewhere in your project directory with the correct distribution DLL to ship with your games/demos.