Thread: Problem in visual c++ 6

  1. #1
    Registered User
    Join Date
    Jun 2006
    Posts
    18

    Question Problem in visual c++ 6

    C:\Program Files\Microsoft Visual Studio\VC98\LIB\uuid.lib : fatal error LNK1113: invalid machine type
    Error executing link.exe.

    WHenever i try to build and execute the project, that warning appears....

    is there a problem with my visual C++

  2. #2
    Supermassive black hole cboard_member's Avatar
    Join Date
    Jul 2005
    Posts
    1,709
    Have you tried re-installing it?
    Good class architecture is not like a Swiss Army Knife; it should be more like a well balanced throwing knife.

    - Mike McShaffry

  3. #3
    Registered User
    Join Date
    Aug 2005
    Posts
    1,267
    do you have VC++ 6.0's SP 5 or SP 6 installed? If not you can get it free from M$.

  4. #4
    Registered User
    Join Date
    Jun 2006
    Posts
    18
    waht is SP% 0r SP 6..

    well, i'll try reinstalling it..

  5. #5
    Registered User
    Join Date
    Aug 2005
    Posts
    1,267
    SP 5 and SP 6 are compiler bug fixes and additions. If you don't have either of them then you should install it to correct a lot of compiler bugs.

  6. #6
    semi-colon generator ChaosEngine's Avatar
    Join Date
    Sep 2005
    Location
    Chch, NZ
    Posts
    597
    or better yet, ditch vc6 altogether. It's a terrible compiler. You can get a free version of microsoft visual studio 2005 from msdn.
    "I saw a sign that said 'Drink Canada Dry', so I started"
    -- Brendan Behan

    Free Compiler: Visual C++ 2005 Express
    If you program in C++, you need Boost. You should also know how to use the Standard Library (STL). Want to make games? After reading this, I don't like WxWidgets anymore. Want to add some scripting to your App?

  7. #7
    Registered User
    Join Date
    Jun 2006
    Location
    Tennessee
    Posts
    12

    Service Pack ?

    Maybe a stupid Question, but does Service back 6 include the fixes from the previous service packs?

  8. #8
    (?<!re)tired Mario F.'s Avatar
    Join Date
    May 2006
    Location
    Ireland
    Posts
    8,446
    it does. SP6 can be installed by itself without any previous patches having been applied
    Originally Posted by brewbuck:
    Reimplementing a large system in another language to get a 25% performance boost is nonsense. It would be cheaper to just get a computer which is 25% faster.

  9. #9
    Registered User
    Join Date
    Jun 2006
    Posts
    18
    just a question, is Visual C++ better thatn Bloodshed Dev-C++ by any way?

  10. #10
    User
    Join Date
    Jan 2006
    Location
    Canada
    Posts
    499
    It has more features, like an interface builder if you start getting into Windows programming. For console apps, there isn't very much difference.

  11. #11
    Registered User
    Join Date
    Aug 2007
    Posts
    4

    hmmm

    where i put SP 6 if i finished download

    ,

    i download it before but it wont work

    help anyone

  12. #12
    Registered User hk_mp5kpdw's Avatar
    Join Date
    Jan 2002
    Location
    Northern Virginia/Washington DC Metropolitan Area
    Posts
    3,817
    Quote Originally Posted by franzxavier
    where i put SP 6 if i finished download

    ,

    i download it before but it wont work

    help anyone
    You can "put" it anywhere but once you do you must then install it.

    The Visual Studio 2005 can be downloaded here, go down a bit (to the middle of the page and on the right) to where it says "Visual C++ 2005 Express Edition" and click on a language and it will then ask you to save a file vcsetup.exe to your computer. This is a small (3MB) installation program that, when run, will allow you to select from some components to download. If you've got the speed, then I'd suggest downloading the MSDN as well which will give you a 300+ MB download. Once downloaded, the components will be installed automatically by the installation program. You'll need to register it if you use it more than 30 days but that can be done for free.

    Its associated service pack (SP1) is also recommended for download, a direct link to the EXE is here.
    "Owners of dogs will have noticed that, if you provide them with food and water and shelter and affection, they will think you are god. Whereas owners of cats are compelled to realize that, if you provide them with food and water and shelter and affection, they draw the conclusion that they are gods."
    -Christopher Hitchens

  13. #13
    Officially An Architect brewbuck's Avatar
    Join Date
    Mar 2007
    Location
    Portland, OR
    Posts
    7,396
    Quote Originally Posted by ChaosEngine View Post
    or better yet, ditch vc6 altogether. It's a terrible compiler. You can get a free version of microsoft visual studio 2005 from msdn.
    Where do you get the idea it's a terrible compiler? It's still very heavily used in commercial environments. It's probably the stablest compiler Microsoft ever came out with.

  14. #14
    and the hat of sweating
    Join Date
    Aug 2007
    Location
    Toronto, ON
    Posts
    3,545
    Where do you get the idea it's a terrible compiler?
    Have you ever tried using any of the STL headers in VC++ 6.0? I had to write special header file wrappers for each VC++ 6.0 STL header with #pragma warning(disable:num) statements just so I could get it to compile cleanly. Sometimes you can't even re-enable the warnings after you include the header and you have to permanently live without those specific warnings. Yuk...

  15. #15
    Officially An Architect brewbuck's Avatar
    Join Date
    Mar 2007
    Location
    Portland, OR
    Posts
    7,396
    Quote Originally Posted by cpjust View Post
    Have you ever tried using any of the STL headers in VC++ 6.0? I had to write special header file wrappers for each VC++ 6.0 STL header with #pragma warning(disable:num) statements just so I could get it to compile cleanly. Sometimes you can't even re-enable the warnings after you include the header and you have to permanently live without those specific warnings. Yuk...
    Okay, I should have qualified my statement a little better. VC6 is a great compiler unless you are using templates or STL But that was a while ago -- gcc wasn't terribly good at it either, at the time.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Visual studio.net C++ Problem
    By Dina in forum C Programming
    Replies: 5
    Last Post: 07-19-2008, 02:34 PM
  2. Visual C++ Tool Problem
    By wolfban in forum Tech Board
    Replies: 2
    Last Post: 07-23-2005, 07:41 PM
  3. errors in my class....
    By o0obruceleeo0o in forum C++ Programming
    Replies: 9
    Last Post: 04-14-2003, 03:22 AM
  4. Visual Basic Adodc Problem
    By rahat in forum Windows Programming
    Replies: 1
    Last Post: 01-20-2002, 06:55 AM
  5. Microsoft Visual C++ compiler, cast problem?
    By jonnie75 in forum C Programming
    Replies: 5
    Last Post: 11-10-2001, 08:53 AM