Using boost compiled with VC++ 8.0 on VC++ 6.0
Hello everybody, I have just successfully compiled boost 1.33.1 with Visual C++ 8.0 Express Edition and it seems to work fine with that compiler. Unfortunately, I am still forced to use Visual C++ 6.0 for applications that include dialogs and other resources, as the Express Edition of Visual C++ 8.0 does not support these. Now I wonder if the boost libraries I have compiled with Visual C++ 8.0 Express Edition are also compatible with Visual C++ 6.0? -- Matthias Hofmann Anvil-Soft, CEO http://www.anvil-soft.com - The Creators of Toilet Tycoon http://www.anvil-soft.de - Die Macher des Klomanagers
My guess is probably not... Why don't you just compile the libraries using VC6 (which libraries?) ? Or better yet, buy VC8 ? -----Original Message----- From: Matthias Hofmann [mailto:hofmann@anvil-soft.com] Sent: Monday, August 14, 2006 12:36 PM To: boost-users@lists.boost.org Subject: [Boost-users] Using boost compiled with VC++ 8.0 on VC++ 6.0 Hello everybody, I have just successfully compiled boost 1.33.1 with Visual C++ 8.0 Express Edition and it seems to work fine with that compiler. Unfortunately, I am still forced to use Visual C++ 6.0 for applications that include dialogs and other resources, as the Express Edition of Visual C++ 8.0 does not support these. Now I wonder if the boost libraries I have compiled with Visual C++ 8.0 Express Edition are also compatible with Visual C++ 6.0? -- Matthias Hofmann Anvil-Soft, CEO http://www.anvil-soft.com - The Creators of Toilet Tycoon http://www.anvil-soft.de - Die Macher des Klomanagers _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
"Michael Nicolella"
My guess is probably not... Why don't you just compile the libraries using VC6 (which libraries?) ? Or better yet, buy VC8 ?
I tried to compile them with Visual C++ 7.0 and it did not work, as some of the libraries (e.g. serialization, if I remember correctly) marked that compiler as obsolete. Therefore, I doubt that it will work with Visual C++ 6.0. If the libraries (I actually meant *all* of them, as I don't know how to compile them individually) don't work with Visual C++ 6.0, then I will indeed have to buy Visual C++8.0. However, those guys at Redmond are boasting about giving away the lastest version of their compiler for free, so I am reluctant to do pay for it... -- Matthias Hofmann Anvil-Soft, CEO http://www.anvil-soft.com - The Creators of Toilet Tycoon http://www.anvil-soft.de - Die Macher des Klomanagers
Are you actually trying to use the serialization library? I think you'd be
better off just compiling the libraries you're using... It's about as easy
as going to the actual library directory and invoking bjam from there...
-----Original Message-----
From: Matthias Hofmann [mailto:hofmann@anvil-soft.com]
Sent: Monday, August 14, 2006 1:53 PM
To: boost-users@lists.boost.org
Subject: Re: [Boost-users] Using boost compiled with VC++ 8.0 on VC++ 6.0
"Michael Nicolella"
My guess is probably not... Why don't you just compile the libraries using VC6 (which libraries?) ? Or better yet, buy VC8 ?
I tried to compile them with Visual C++ 7.0 and it did not work, as some of the libraries (e.g. serialization, if I remember correctly) marked that compiler as obsolete. Therefore, I doubt that it will work with Visual C++ 6.0. If the libraries (I actually meant *all* of them, as I don't know how to compile them individually) don't work with Visual C++ 6.0, then I will indeed have to buy Visual C++8.0. However, those guys at Redmond are boasting about giving away the lastest version of their compiler for free, so I am reluctant to do pay for it... -- Matthias Hofmann Anvil-Soft, CEO http://www.anvil-soft.com - The Creators of Toilet Tycoon http://www.anvil-soft.de - Die Macher des Klomanagers _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
Michael Nicolella wrote:
Are you actually trying to use the serialization library? I think you'd be better off just compiling the libraries you're using... It's about as easy as going to the actual library directory and invoking bjam from there...
It's easier. You can just use the "--with-<library>" options at the top level build. -- -- Grafik - Don't Assume Anything -- Redshift Software, Inc. - http://redshift-software.com -- rrivera/acm.org - grafik/redshift-software.com -- 102708583/icq - grafikrobot/aim - grafikrobot/yahoo
I believe he said it doesn't include some functionality he needs... -----Original Message----- From: Deane Yang [mailto:deane_yang@yahoo.com] Sent: Monday, August 14, 2006 3:05 PM To: boost-users@lists.boost.org Subject: Re: [Boost-users] Using boost compiled with VC++ 8.0 on VC++ 6.0 Matthias Hofmann wrote:
However, those guys at Redmond are boasting about giving away the lastest version of their compiler for free,
so I am reluctant to do pay for it...
Yes, why can't you just download VC++ Express for free? _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
On Monday, August 14, 2006 3:06 PM -0700 Michael Nicolella
I believe he said it doesn't include some functionality he needs...
Express lacks the GUI class libraries such as MFC. If you're writing new code, you probably want to avoid those to remain platform-independent, but legacy code is likely to require them.
Kenneth Porter wrote:
On Monday, August 14, 2006 3:06 PM -0700 Michael Nicolella
wrote: I believe he said it doesn't include some functionality he needs...
Express lacks the GUI class libraries such as MFC.
and this is one of its best points. MFC is poorly designed legacy library that shouldn't be used for any new development. What else Express edition is lacking though is resources editor, which matters for those who want to visually edit dialog boxes etc. I suppose that there are modern GUI libraries for Windows that do not require resource files (maybe John Torjo's Win32 or SmartWin++ ) B.
Bronek Kozicki wrote:
Kenneth Porter wrote:
On Monday, August 14, 2006 3:06 PM -0700 Michael Nicolella
wrote: I believe he said it doesn't include some functionality he needs... Express lacks the GUI class libraries such as MFC.
and this is one of its best points. MFC is poorly designed legacy library that shouldn't be used for any new development.
I do not think the OP was talking about new development. I totally agree with you and as a programmer I would not have used MFC even ten years ago given that Borland's VCL and C++ Builder were always so much better then. Unfortunately the C++ Windows programming world felt otherwise and their is a ton of legacy code in Windows using C++/MFC. This was made worse by the fact that for the first four years of .net development the C++ implementation of .net was "mysteriously" broken ( see the loader lock bug ), which encouraged C++ .net programmers to continue to use MFC in Visual Studio 2002 and 2003 or switch to C#, the latter no doubt being MS's choice which may explain why C++ .net programming just "happened" to be broken. Given that VC++ 6.0 is such a poorly compliant compiler, the only real choice for a VC++ 6.0 user using Boost libraries with MFC is either to use those libraries which still work with VC++ 6.0, pay MS the $200 or so upgrade dollars and get the standard edition of Visual Studio 2005 which has MFC, or learn C++/CLI and use the free edition VC2005 Express and transform an MFC program to C++/CLI ( no mean task ). I have excluded getting Borland's latest C++ Builder offering since the C++ compliance of Borland for almost a half decade of doing nothing in their C++ compiler is pretty bad also, switching from MFC to the VCL is only a little less hard than switching from MFC to C++/CLI forms, and the price of the latest Borland C++ offering is even greater than the upgrade from VC++ 6 to VS2005. If I were the OP I would pay MS their $200 or so upgrade price ( which is what I personally did for VS2005 largely to do C++/CLI .net programming ), and be done with programming with VC++ 6 forever. Alternatively as you suggested he can use C++/CLI Windows Forms or just basic Win32 programming ( yuck ! ) with VC2005 express, but the former is much work if he would be transforming an MFC legacy application and the latter is tiresome. In either case he would be able to use Boost with few problems, as VC8 is an immensely better C++ compliant compiler than VC6.
Or MS's own .Net framework. This no longer uses resource files, but there is a Graphical form designer. - R -----Original Message----- From: boost-users-bounces@lists.boost.org [mailto:boost-users-bounces@lists.boost.org] On Behalf Of Bronek Kozicki Sent: 14 August 2006 23:44 To: boost-users@lists.boost.org Subject: Re: [Boost-users] Using boost compiled with VC++ 8.0 on VC++ 6.0 Kenneth Porter wrote:
On Monday, August 14, 2006 3:06 PM -0700 Michael Nicolella
wrote: I believe he said it doesn't include some functionality he needs...
Express lacks the GUI class libraries such as MFC.
and this is one of its best points. MFC is poorly designed legacy library that shouldn't be used for any new development. What else Express edition is lacking though is resources editor, which matters for those who want to visually edit dialog boxes etc. I suppose that there are modern GUI libraries for Windows that do not require resource files (maybe John Torjo's Win32 or SmartWin++ ) B. _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
"Deane Yang"
Matthias Hofmann wrote:
However, those guys at Redmond are boasting about giving away the lastest version of their compiler for free, so I am reluctant to do pay for it...
Yes, why can't you just download VC++ Express for free?
You can, but the Express Edition does not include a resource editor. -- Matthias Hofmann Anvil-Soft, CEO http://www.anvil-soft.com - The Creators of Toilet Tycoon http://www.anvil-soft.de - Die Macher des Klomanagers
Someone just said they didn't want to pay for VC++ Express. I lost the exact email. Try the Download Now button on this page http://msdn.microsoft.com/vstudio/express/visualc/ You have to register it. HTH - Richard -----Original Message----- From: boost-users-bounces@lists.boost.org [mailto:boost-users-bounces@lists.boost.org] On Behalf Of Michael Nicolella Sent: 14 August 2006 21:25 To: boost-users@lists.boost.org Subject: Re: [Boost-users] Using boost compiled with VC++ 8.0 on VC++ 6.0 My guess is probably not... Why don't you just compile the libraries using VC6 (which libraries?) ? Or better yet, buy VC8 ? -----Original Message----- From: Matthias Hofmann [mailto:hofmann@anvil-soft.com] Sent: Monday, August 14, 2006 12:36 PM To: boost-users@lists.boost.org Subject: [Boost-users] Using boost compiled with VC++ 8.0 on VC++ 6.0 Hello everybody, I have just successfully compiled boost 1.33.1 with Visual C++ 8.0 Express Edition and it seems to work fine with that compiler. Unfortunately, I am still forced to use Visual C++ 6.0 for applications that include dialogs and other resources, as the Express Edition of Visual C++ 8.0 does not support these. Now I wonder if the boost libraries I have compiled with Visual C++ 8.0 Express Edition are also compatible with Visual C++ 6.0? -- Matthias Hofmann Anvil-Soft, CEO http://www.anvil-soft.com - The Creators of Toilet Tycoon http://www.anvil-soft.de - Die Macher des Klomanagers _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
"Richard Howells"
Someone just said they didn't want to pay for VC++ Express. I lost the exact email.
Try the Download Now button on this page http://msdn.microsoft.com/vstudio/express/visualc/
You have to register it.
It works fine without registering it, but you cannot edit resources. -- Matthias Hofmann Anvil-Soft, CEO http://www.anvil-soft.com - The Creators of Toilet Tycoon http://www.anvil-soft.de - Die Macher des Klomanagers
On Tue, 15 Aug 2006 15:52:03 +0200, "Matthias Hofmann"
It works fine without registering it, but you cannot edit resources.
There are tons of free resource editors around. But the OP was probably looking for that "sort" of visual editing support that VC6 gives when it comes to adding message handlers and soil your code forever with a tasty shower of Macro Foundation macros :-( -- [ Gennaro Prota, C++ developer. Library designer. ] [ For Hire http://gennaro-prota.50webs.com/ ]
"Gennaro Prota"
On Tue, 15 Aug 2006 15:52:03 +0200, "Matthias Hofmann"
wrote: It works fine without registering it, but you cannot edit resources.
There are tons of free resource editors around. But the OP was probably looking for that "sort" of visual editing support that VC6 gives when it comes to adding message handlers and soil your code forever with a tasty shower of Macro Foundation macros :-(
The OP was made by myself. All I need is the ability to add dialogs and other resources to my project. Can this be accomplished with free resource editors? -- Matthias Hofmann Anvil-Soft, CEO http://www.anvil-soft.com - The Creators of Toilet Tycoon http://www.anvil-soft.de - Die Macher des Klomanagers
On Tue, 15 Aug 2006 18:53:10 +0200, "Matthias Hofmann"
The OP was made by myself.
Oops, sorry!
All I need is the ability to add dialogs and other resources to my project. Can this be accomplished with free resource editors?
<off-topic> I've been using my own resource editor for years now and I don't use VC 2005 for my development, so this is just an educated guess. Since it has the resource compiler (rc.exe) you should be able to use whatever you like for editing the resources (even notepad - it's not complicated) *unless* they deliberately exclude .res files as linker input, which I haven't verified. </off-topic> -- [ Gennaro Prota, C++ developer. Library designer. ] [ For Hire http://gennaro-prota.50webs.com/ ]
participants (9)
-
Bronek Kozicki
-
Deane Yang
-
Edward Diener
-
Gennaro Prota
-
Kenneth Porter
-
Matthias Hofmann
-
Michael Nicolella
-
Rene Rivera
-
Richard Howells