RE: [boost] Re: Boost to the rescue

At Tuesday 2005-04-19 08:41, you wrote:
----Original Message---- From: Victor A. Wagner Jr. [mailto:vawjr@rudbek.com] Sent: 19 April 2005 16:03 To: boost@lists.boost.org Subject: Re: [boost] Re: Boost to the rescue
I've been using 7.1 since it became available, and haven't bumped into any optimization problems, and we compile debug with none, and about everything we can find to turn on in release. Granted there are only 4 of us, but I don't recall any gotchas.
I have. We compile "minimize size", and when bitshifting it gets things wrong. We have found this twice (the first time confirmed by Microsoft), and have had to revert to releasing the existing product with VC5 (Yes: 5 not 6. We never upgraded to VC6 because it was expensive, a resource hog, didn't seem to offer many new features, and a change to how #import work broke huge swathes of our code).
I've never heard of #import, is that some MS unique thing? It's certainly NO standard C++
-- Martin Bonner Martin.Bonner@Pitechnology.com Pi Technology, Milton Hall, Ely Road, Milton, Cambridge, CB4 6WZ, ENGLAND Tel: +44 (0)1223 441434 _______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
Victor A. Wagner Jr. http://rudbek.com The five most dangerous words in the English language: "There oughta be a law"

I've never heard of #import, is that some MS unique thing? It's certainly NO standard C++
It is an MS COM thing. Basically COM defines interfaces and constants in a .tlb (type library) file. In C++ the interface is defined in IDL (interface defintion language), where as VB 6 and others it's generated automatically. Also, sometimes this type library info is stored directly in the object file itself (a dll or exe) When you #import, in MSVC, it looks at the .tlb file, and translates that to intermediate .h code that basically defines in C++ terms, what the interface is and then (for all intents) #includes that intermediate .h file. (The generated .h is similar to the normal intermediate .o files) for a quick overview or reference: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vclang/html...
participants (2)
-
Tito
-
Victor A. Wagner Jr.