Re: Problem with reading an int with operator>>
- From: David Wilkinson <no-reply@xxxxxxxxxxxx>
- Date: Mon, 13 Mar 2006 06:30:51 -0500
Thanks for the reply. Inline:
P.J. Plauger wrote:
And what exactly is the purpose of it? Is it just so these objects can be passed across DLL boundaries?
Well, it does save link time and code size in .exe files.
Yes, but as always with dynamic linking, this is no real advantage if I have to ship the DLL's myself. Is the real reason not what I say (same as it is for MFC with extension DLL's)?
Personally, I would be prepared to forgo this advantage if I could keep all my Standard Library in the headers where it could be easily updated. Is it possible to do this even if one is dynamically linking CRT (and MFC)?
Dunno. I'd like to think so.
But don't you write these library headers? Is it just a matter of removing all the "#ifdef _DLL" sections? What I would like (if I used dynamic linking) would be a preprocessor symbol that I could define that would remove the "extern" declarations, something like:
#if defined _DLL and !defined _NO_EXTERN
Would this not be possible? Or is there more to it than this?
It seems to me that the existence of msvcp60.dll (and VC7/8 versions) is an impediment to Microsoft updating the standard library when improvements have been found. Or am I missing something here?
I think Microsoft takes a more comprehensive view of updating the
library, since they can provide new versions of headers, DLLs, and
all in one SP.
Yes, but in VC6 we had 6 service packs none of which, for whatever reason, included the patches. And in VC7/7.1/8 we so far have none.
David Wilkinson
.
- Follow-Ups:
- Re: Problem with reading an int with operator>>
- From: P.J. Plauger
- Re: Problem with reading an int with operator>>
- References:
- Re: Problem with reading an int with operator>>
- From: P.J. Plauger
- Re: Problem with reading an int with operator>>
- From: P.J. Plauger
- Re: Problem with reading an int with operator>>
- From: David Wilkinson
- Re: Problem with reading an int with operator>>
- From: P.J. Plauger
- Re: Problem with reading an int with operator>>
- Prev by Date: Re: Problem with reading an int with operator>>
- Next by Date: Re: Problem with reading an int with operator>>
- Previous by thread: Re: Problem with reading an int with operator>>
- Next by thread: Re: Problem with reading an int with operator>>
- Index(es):
Relevant Pages
|
Loading