Thread: 15.000 euros to send me to command line?

  1. #1
    Registered User
    Join Date
    Nov 2011
    Posts
    27

    15.000 euros to send me to command line?

    We have the ultimate visual studio 2010 and we paid for this 15.000 euros.
    Sometime we had to compile and run a file with C inherited code (we did not buy Visual Studio 2010 only to compile old inherited code).
    So we downloaded a free IDE with C compiler such as Dev C++ or code:Blocks. But when we try to compile with these compilers we take an error about "__try" command. Then we found that "__try" is related with microsoft's C compiler and the code maybe is from 1999 (so we are dealing with code from old visual C++ 6).
    When I googled it to found how can I do this task from visual studio 2010 then this article came up.
    And I ask the microsoft: Why it is so complicated to compile and run a simple inherited C code.
    15.000 euros to send me to command line? I was compiling code through command line when I was in the university (1990!!!).
    What a shame!

  2. #2
    Master Apprentice phantomotap's Avatar
    Join Date
    Jan 2008
    Posts
    5,108
    O_o

    Wow. You got ripped off. I think that's about $3000.00 (USD) more than I've heard. That's a lot of cash for each seat.

    That said, you should be able to add a new independent tool to the application suite (I think MSVC2k10 calls this "project" and "solution".) and get what you want done without ever touching a terminal.

    I'd suggest you read the documentation more before writing this off as "a shame".

    Soma

  3. #3
    the hat of redundancy hat nvoigt's Avatar
    Join Date
    Aug 2001
    Location
    Hannover, Germany
    Posts
    3,130
    What a shame!
    Your problem is that you spend 15K€ on a tool and nothing on user education. Buying a 15K€ car will not teach someone how to drive. And yet, you somehow make it sound like that's the car manufacturers fault.
    hth
    -nv

    She was so Blonde, she spent 20 minutes looking at the orange juice can because it said "Concentrate."

    When in doubt, read the FAQ.
    Then ask a smart question.

  4. #4
    Registered User
    Join Date
    Nov 2011
    Posts
    27
    do not cheat. I know that for this purpose I can create a project/solution to build a win32 console application but I think that this is an overkill for such a simple job.
    Also 3.000 euro costs the premium version and not the ultimate...

  5. #5
    the hat of redundancy hat nvoigt's Avatar
    Join Date
    Aug 2001
    Location
    Hannover, Germany
    Posts
    3,130
    Yeah, those 3 mouseclicks are really overkill. How could Microsoft DARE to make it THAT complicated? I'm sure Turbo C could do it so much easier *chuckle*
    hth
    -nv

    She was so Blonde, she spent 20 minutes looking at the orange juice can because it said "Concentrate."

    When in doubt, read the FAQ.
    Then ask a smart question.

  6. #6
    Officially An Architect brewbuck's Avatar
    Join Date
    Mar 2007
    Location
    Portland, OR
    Posts
    7,396
    15k euro is a lot, but not enough to purchase supernatural powers. You need to make a project. It'll take 10 minutes, probably. Certainly less time than you've spent griping...
    Code:
    //try
    //{
    	if (a) do { f( b); } while(1);
    	else   do { f(!b); } while(1);
    //}

  7. #7
    Registered User ledow's Avatar
    Join Date
    Dec 2011
    Posts
    435
    What's funnier - you paid €15k for something you don't know how to use, and apparently didn't bother to get yourself a support package either.

    And then come and gripe to a bunch of people who (and I'll make some wild stabs here but think I'm right) don't work for Microsoft, have no say in how their compiler works, and don't *really* care that much that you can't figure it out, or that you have to revert to a command-line to get things done. Hell, I spend my life reverting to a command-line to get things done on every operating system I use.

    Just what, exactly, did you want anyone here to do about this?

    - Compiler warnings are like "Bridge Out Ahead" warnings. DON'T just ignore them.
    - A compiler error is something SO stupid that the compiler genuinely can't carry on with its job. A compiler warning is the compiler saying "Well, that's bloody stupid but if you WANT to ignore me..." and carrying on.
    - The best debugging tool in the world is a bunch of printf()'s for everything important around the bits you think might be wrong.

  8. #8
    &TH of undefined behavior Fordy's Avatar
    Join Date
    Aug 2001
    Posts
    5,793
    "__try" is for structured exception handling (http://msdn.microsoft.com/en-us/libr...v=vs.85).aspx)

    Still used quite a bit on the windows platform. More so recently as its used to stabilise and add protection to code that runs on windows.

    That will be 4,000 euros please. Paypal preferred.

  9. #9
    Registered User VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,607
    We all have gripes about MSVS but this is not usually one of them. It is still about ten thousand light years ahead of anything else available even with its many quirks and bugs. Moving from VS 6 to MSVS 2005 was a huge PITA and moving from 2005 to 2008 was less of a PITA but still a PITA. Moving from 6 to 2010 would be a major PITA but it is a good one. I suggest you refactor the old code and bring it up to modern standards. All of us have issues with the tools we use but your complaints do not fall into this category. You are complaining that a modern tool does not support ancient relics of code and quite honestly there is no way that it can. Anytime you upgrade you must bring your code up to the standard or find a way around it in the compiler. However, eventually you must allocate some time and resources to bring your code up to the new standard b/c you will waste more time and money trying to get the old code to work than you would if you were to refactor it.

  10. #10
    Registered User
    Join Date
    Dec 2011
    Posts
    795
    Why? What was the logic behind this? "I don't understand this so I'll throw 15,000 euros at it"? I mean seriously

    You do know that you can get compilers for free...

  11. #11
    Registered User
    Join Date
    Mar 2005
    Location
    Juneda
    Posts
    291
    That reminds me the Write Only Memory

  12. #12
    Officially An Architect brewbuck's Avatar
    Join Date
    Mar 2007
    Location
    Portland, OR
    Posts
    7,396
    Quote Originally Posted by VirtualAce View Post
    We all have gripes about MSVS but this is not usually one of them. It is still about ten thousand light years ahead of anything else available even with its many quirks and bugs. Moving from VS 6 to MSVS 2005 was a huge PITA and moving from 2005 to 2008 was less of a PITA but still a PITA. Moving from 6 to 2010 would be a major PITA but it is a good one. I suggest you refactor the old code and bring it up to modern standards. All of us have issues with the tools we use but your complaints do not fall into this category. You are complaining that a modern tool does not support ancient relics of code and quite honestly there is no way that it can. Anytime you upgrade you must bring your code up to the standard or find a way around it in the compiler. However, eventually you must allocate some time and resources to bring your code up to the new standard b/c you will waste more time and money trying to get the old code to work than you would if you were to refactor it.
    Maybe I misunderstood him, but to me it seems the complaint is, he's got some legacy code and Visual Studio, and although Visual Studio can compile the code, he doesn't like the fact that he needs to do so from the command line -- he understands that what he needs is a project, but apparently, Visual Studio is so expensive, it ought to be capable of creating a project out of thin air based only on human brainwaves.

    He's mad that he needs to push the button instead of the button magically pushing itself. Well, that's not so outrageous is it, I mean if I spend $15k on a car, I sure as hell expect it to start itself, drive itself, and automatically fill itself with gas.
    Code:
    //try
    //{
    	if (a) do { f( b); } while(1);
    	else   do { f(!b); } while(1);
    //}

  13. #13
    Registered User ledow's Avatar
    Join Date
    Dec 2011
    Posts
    435
    As a general rule, I find the more money a piece of software costs, the more likely it does things in a way that I consider heinous. And, incidentally, the more likely I am to find a simpler, cheaper alternative.

    That said, €15k is a heck of a lot of money to waste on something without knowing exactly what it does FIRST.

    - Compiler warnings are like "Bridge Out Ahead" warnings. DON'T just ignore them.
    - A compiler error is something SO stupid that the compiler genuinely can't carry on with its job. A compiler warning is the compiler saying "Well, that's bloody stupid but if you WANT to ignore me..." and carrying on.
    - The best debugging tool in the world is a bunch of printf()'s for everything important around the bits you think might be wrong.

  14. #14
    Registered User VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,607
    Maybe I misunderstood him, but to me it seems the complaint is, he's got some legacy code and Visual Studio, and although Visual Studio can compile the code, he doesn't like the fact that he needs to do so from the command line -- he understands that what he needs is a project, but apparently, Visual Studio is so expensive, it ought to be capable of creating a project out of thin air based only on human brainwaves.
    Hehe. Well then he needs to bite the bullet and create a new project and start adding in the legacy code thus taking the first step to bringing it up to modern day standards.

  15. #15
    Malum in se abachler's Avatar
    Join Date
    Apr 2007
    Posts
    3,195
    Quote Originally Posted by nvoigt View Post
    Yeah, those 3 mouseclicks are really overkill. How could Microsoft DARE to make it THAT complicated? I'm sure Turbo C could do it so much easier *chuckle*
    Actually it could, and the open source compilers will compile your old code just fine.

    ::-) ™

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Command line how to handle optional command.
    By ovid in forum C++ Programming
    Replies: 1
    Last Post: 03-07-2010, 11:41 PM
  2. Average pay in euros and cent
    By hamsteroid in forum C Programming
    Replies: 2
    Last Post: 03-31-2007, 03:49 PM
  3. Replies: 8
    Last Post: 10-24-2005, 11:26 AM
  4. changing from name in net send command
    By cfrost in forum Networking/Device Communication
    Replies: 8
    Last Post: 05-04-2004, 07:42 PM
  5. Command Line?
    By Cris987 in forum C# Programming
    Replies: 4
    Last Post: 11-25-2003, 08:56 PM