Just to be sure, I'm not against vc runtime or anything like that
I'm pointing it out because most of users don't know how to fix it by installing msvc redistributable package thing.
Any suggestions how I can link it to a non-VC-RT dll (I wasn't aware that using the mem-functions opens up a new dependecy).
What I do these days is to simple setup on "Code Generation" - "Runtime Library" to "Multi-threaded (/MT)" and the vc runtime will be static linked to your executable file. Sure the file will increase in size but well.. AV programs today are so annoying that you can't have small executables anymore anyway
Another way is to follow
this tutorial and complete remove c runtime lib usage (prepare to have some fun
).