Re: C++ Version 6 app using c++ version 8 dll
Hi David,
You can't really like .NET and not like DLLs. :o)
Seriously, I'm not sure I understand this debate. It seems to me that the
best method should be used based on the application being created. If I
know my application is going to run standalone and no other applications
running at the same time will share any of the code then static linking
works just fine. Plus, the MFC stuff is such a thin skin over the SDK you
wonder why they ever had the DLL version. Downloading is sort of moot
these days so I'd probably prefer static linking in that scenario just to
ensure that my entire program got to the user. FWIW, I don't think the
program uses any more or less memory either way so I'm not sure what
"professional" has to do with it. I figure if the programmer got paid, they
must be professional (that's a good IRS definition anyway).
Tom
"David Ching" <dc@remove-this.dcsoft.com> wrote in message
news:xHiTh.9390$YL5.6953@newssvr29.news.prodigy.net...
"Ajay Kalra" <ajaykalra@yahoo.com> wrote in message
news:1176320723.658847.307010@o5g2000hsb.googlegroups.com...
You are right, I dont believe in static linking for a professional
app. To me dynamic linking has provided no problems whatsover after
working with multiple large and medium sized shrink wrap apps(over 80
DLLs and under 40 DLLs). I used to think static linking is for school
type of project(I still kind of do) but I am more aware of its needs
thru you/DavidC. But I havent touched C++ in over 8 months now and I
seriously doubt if I will go back. So all this may be just mute.
It sounds like you equate "bloat" with "professional". Many
"professional" apps are single .exe's and are in fact more elegantly
crafted to keep them small. Perhaps these are made by un-real
programmers? Perhaps you are of the mindset that it's better for your app
setup to be a 50 MB download because that implies it is more capable than
an app which is merely 2 MB download? But then since your "professional"
app required over 24 hours to build, it's no wonder.
I'm glad I'm an "unprofessional".
-- David