How is that misleading? It's true. Linking dynamically reduces the size of the executable. Or am I missing something? |
It's misleading in that you didn't give any context with your answer outside of "it reduces the size of the executable". You could've taken the time to actually explain what was happening with shared vs static linking; as this is an issue in many programming languages. Especially when working with 3rd party libraries.
Well, excuuuuse me for having forgotten that it's possible to link the VC++ runtime statically. Geez. And what exactly does MinGW not link statically (excluding third party libraries, obviously)? I've never had to drag around DLLs with a MinGW executable. |
VC++ links std runtime libs statically, in the same was as MingW. But the .NET stuff is 3rd party, and likely dynamic in much the same way as any 3rd party library can be with any compiler.
As I said initially, a simple google of the error (like most errors) provides an easy solution.
Do I see a programming feud erupting between helios and Zaita? |
I am just trying to bring some more context to the original problem, more than a quick solution but an actual explanation so the OP can understand the cause and avoid it in the future.
I think you two should have a competition where you both create the most complex program you can and see which is better. |
Competitions are for students and people still learning C++. You don't have a lot of motivation to code for sport when you spend all day working with the stuff. Also, I see no need in proving my ability to this (or any forum). People can take my answers as they wish and if they feel the need for a second opinion by all means ask another poster. C++ and software devlepment is an extremely vast and complex field. There are many ways to skin the same cat.
Thanks man! Been a bit busy with work and Scuba diving courses, so have kinda dropped off the radar. Hopefully will post some more. Also been doing some more hands-off development lately with a client, so most of my time spent in the trenches has been advising on proper develoment and quality techniques to meet FDA guidelines.