Reputation: 41
When i create a new project an alert box opens up asking
Multi-threaded Dynamic CRT mode or Multi-threaded Static CRT mode
what's the difference ?? And Explain..
Upvotes: 1
Views: 585
Reputation: 36497
Which one to choose? Up to you.
If you're providing an installer that will take core of dependencies (like the CRT), using the dynamic version might be the better choice, especially when you're using multiple binary files (like executables and libraries). Otherwise you might essentially end up with duplicated code.
For a better "unzip and run" experience, I'd prefer using the static runtime.
You could as well use the dynamic runtime and provide a small "bootstrap" program, linked with the static runtime and checking whether the runtime is properly installed. If it isn't, it would download and install it prior to running the actual program.
Upvotes: 4