Screencast: Static link to the C-Runtime to prevent vcredist and overcome “Application configuration” problems
Here is a short screencast which shows how to adjust the project settings to link against the static C-runtime (CRT).
This prevents that you must ship the CRT-DLLs with your application. Your application just works after copying the exe to the target computer.
This is a “german” screencast:
http://www.kalmbach-software.de/screencasts/VC2008EE-StaticLinkCRT/
May 3rd, 2008 at 15:16
[…] easiest way to overcome the problem is to link static against the CRT/MFC. But in some scenarios this is not an option and not […]
July 28th, 2008 at 21:11
Thank you, sir. Your screencast quickly gave me the answer to this. I appreciate it.
September 12th, 2008 at 16:16
The method shown on the screen cast for static linking doesn’t work for CLR applications. How do I statically link a /clr application?
Thanks
September 12th, 2008 at 16:18
It is explaind in the screencast, that it does not work if you have a /clr application!
Conclusion: You can’t static link to the CRT if you have VS2005 or later (ir works with VS2002 and 2003).
September 12th, 2008 at 16:35
Thanks for the quick reply.
Bummer about static linking. I’ll give your method a shot. Trying to deploy on Vista, XP, and the FDDC.
Cheers
October 17th, 2008 at 09:47
Thanks for this Jochen, even though my German in non-existent, I just needed to see which option it was
Vielen Dank!
November 6th, 2008 at 19:20
Danke!!!
Jetzt ist mein Herzinfarkt-Risiko wieder auf normal!
May 27th, 2009 at 20:31
[…] Statically link to the CRT/MFC […]
January 26th, 2010 at 22:55
Why post a screencast when you could explain it in words? Words are a lot easier to use!
January 27th, 2010 at 08:03
Hi Al!
I have explaint this about 3000 times via words… then I got about 2000 responses that it does not work or they cannot find it… the I responded again, that you should *look* exactly what I have written… After about 1000 responses again, I made the 2 min screencast….
Maybe my words are not able to express, what screencasts can