Sign in to follow this  
jafe

Ms Visual c++ 6 and the Dell Vostro 1500

Recommended Posts

jafe    122
Yoh all, I just recently bought a Dell Vostro 1500. Arrived yesterday and it's pretty damn good. First thing I did was I installed a few games to give the graphics card and processor a little try out, then I went on to install Microsoft's Visual C++ 6, Professional Edition. I realized when I log off of the user account or shut down the laptop I'm given an error message of explorer.exe having encountered some exception in writing to memory - sorry I can't be more accurate as I restored the system back to before I installed Visual. I wanted to put visual c++ 6 onto the laptop so that I could do some work on my 4e6 (possibly) entry. What I wanted to know is, has anybody tried to install Visual c++ 6 on one of these machines? If so, do you get the exception error from explorer.exe as you turn it off? If not, could you help me solve it? Best Regards, Mike Also, perhaps this thread is a little out of way from "general programming" although I could find no better suited forum; and it does relate somewhat to compilers.

Share this post


Link to post
Share on other sites
Evil Steve    2017
Solution: Download Visual Studio 2005 Express, and throw out your 10 year old, non-standard complient, broken, corrupt exe generating compiler.

Seriously.

Share this post


Link to post
Share on other sites
Nitage    1107
Yeah, Visual C++ 6 did that to my old work laptop. Evil Steve's suggestion is good though - and the new Visual Studio 2008 Express editions are out now.

Share this post


Link to post
Share on other sites
dmatter    4826
Visual C++ 2008 Express editions are free to download with no strings attached. The fact that you may once have paid money for VC++6.0 does not in any way mean that you should install it over the free VC++9.0 Express which is far superior.
Arguably you could go for the 2005 edition (VC++8.0) on the basis that it's potentially more stable, but that wouldn't be my own personal advice, just a thought [smile]

Share this post


Link to post
Share on other sites
jafe    122
Seems like a good idea but will it take my current work from vc6++ easily?

Also, what's the policy on distributing of programs created with it? Will I need a licence or anything?

And thanks for all the input

Share this post


Link to post
Share on other sites
dmatter    4826
It will import the code easily yes, whether or not your code will compile first time or not is a different question, VC++6 is so bad it will compile completely intollerable code without complaining, obviously a modern compiler won't be so lenient.

There are also no restrictions on programs you make with it, commercial or otherwise, no license necessary.

Share this post


Link to post
Share on other sites
jafe    122
Quote:
Original post by dmatter
It will import the code easily yes, whether or not your code will compile first time or not is a different question, VC++6 is so bad it will compile completely intollerable code without complaining, obviously a modern compiler won't be so lenient.

There are also no restrictions on programs you make with it, commercial or otherwise, no license necessary.


Wow, I think I'll go get this then. Is there a catch?

Share this post


Link to post
Share on other sites
Ezbez    1164
You have to register within 30 days, but it's free and painless. Other than that, there's no soul-stealing fine print that I know of. There's not even any restrictions on how you can distribute your program.

Share this post


Link to post
Share on other sites
ExcessNeo    619
Quote:
Original post by jafe
Quote:
Original post by dmatter
It will import the code easily yes, whether or not your code will compile first time or not is a different question, VC++6 is so bad it will compile completely intollerable code without complaining, obviously a modern compiler won't be so lenient.

There are also no restrictions on programs you make with it, commercial or otherwise, no license necessary.


Wow, I think I'll go get this then. Is there a catch?


The only catch with VC++ Express is the lack of a resource editor.

If you don't do anything major with the Win32 API (requiring mass dialog's, menu's, etc) then this shouldn't be much of a problem though.

Share this post


Link to post
Share on other sites
scorpion007    118
Dunno why you guys are so harsh about VC6. It works fine here. I have both VC 6 and 8 side by side (latest service packs of course) and they work great. No need to be religious about tools.

VC6 doesn't generate corrupt exes, don't know what you're talking about.

His problem with explorer probably has nothing to do with VC6 and probably has a virus or some other malware on his computer.

Share this post


Link to post
Share on other sites
_the_phantom_    11250
If by work great you mean;
- produces sub standard code
- doesn't properly support the C++ standard
- has a bad Std. Lib implimentation
- has horrible template support

and other things I can't name off the top of my head (as well as visually being so fugly it hurts my eyes to even think about using it now), then yes.. it's "fine".

However, when compared to a modern C++ compiler and IDE setup, such as VC++08 EE, it's horrible...

Share this post


Link to post
Share on other sites
dmatter    4826
Quote:
Original post by scorpion007
Dunno why you guys are so harsh about VC6. It works fine here. I have both VC 6 and 8 side by side (latest service packs of course) and they work great. No need to be religious about tools.

VC6 doesn't generate corrupt exes, don't know what you're talking about.

His problem with explorer probably has nothing to do with VC6 and probably has a virus or some other malware on his computer.


It's not that we're being religious about tools, but VC++6 was written before C++ was standardised, as such you could say it compiles a 'C++ variant'. This variant is poorly defined and there are no hard and fast rules about what might or might not compile. We would much rather use tools that more closely match the well defined and understood C++ standard, such as the more modern VC++8/9 editions.

[Edited by - dmatter on November 22, 2007 7:21:56 PM]

Share this post


Link to post
Share on other sites
scorpion007    118
That's true, it definitely doesn't support all the latest C++ features. So if you're going to be doing any of that meta-template programming stuff, you better use something newer than VC6. But if you primarily code C, and use more or less conventional C++ (nothing too cutting edge), then you'll find VC6 does a pretty good job.

It's more of an issue when you're developing non-Windows code that you need high-level of conformance, I guess.

Share this post


Link to post
Share on other sites
scorpion007    118
Quote:
Original post by Mike.Popoloski
There is really no reason at all for someone to use Visual Studio 6 when a free alternative that is 1000 times better is a few quick clicks away.


Yeah, but the free version doesn't have a resource editor, does it? Nor does it have remote debugging, from what I can tell. You need the professional edition for that. But yeah, if you're just starting out, that probably won't matter too much.
(The VC6 IDE is also a lot more responsive and uses a hell of a lot less memory than VC 2005 does)

Share this post


Link to post
Share on other sites
_the_phantom_    11250
Quote:
Original post by scorpion007
But if you primarily code C, and use more or less conventional C++ (nothing too cutting edge), then you'll find VC6 does a pretty good job.



for(int i = 0; i < 10; i++)
{
// do something 10 times
}

for(int i = 0; i < 10; i++)
{
// do something else 10 times
}



Standard compliant C++ and iirc it utterly fails to compile on VC6.

Share this post


Link to post
Share on other sites
NineYearCycle    1538
@jafe
and now back on topic... No it doesn't look like anyone knows why VC6 is not working for you.

Off-topic: yes you really are better off getting the totally free version of VS2008 Express Edition. I was a long time VC6 stalwart but looking back I can only assume that I was suffering from some terrible mental illness. Now that I've recovered from that illness my code is more standard compliant, I've come to love the STL, multi-platform portability is but a few minutes work and I have a long term gorgeous girlfriend... obviously this correlation can't be proven but I find it convincing enough :D

Good luck, and remember get a new IDE ;)

Andy

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this