Do I need to upgrade my compiler?

This is a discussion on Do I need to upgrade my compiler? within the Windows Programming forums, part of the Platform Specific Boards category; I've been burning through tutorials and such with win32 and found that any app that uses resources will not compile. ...

  1. #1
    Absent Minded Programmer
    Join Date
    May 2005
    Posts
    964

    Do I need to upgrade my compiler?

    I've been burning through tutorials and such with win32 and found that any app that uses resources will not compile.

    I'm working with MSVS2005 express.
    Sometimes I forget what I am doing when I enter a room, actually, quite often.

  2. #2
    Registered User Codeplug's Avatar
    Join Date
    Mar 2003
    Posts
    4,668
    Express edition can not graphically edit resources, but it can compile them (and edit them as text). Have you tried adding existing resource files to the solution?

    If the resource file was generated by a non-Express IDE, then you may have to clean up the RC file a bit before it will compile. For example, you might have to change "#include <afxres.h>" to "#include <winresrc.h>"

    For making your RC files with a GUI, look for some free third party resource editors.

    gg

  3. #3
    Registered User
    Join Date
    Dec 2007
    Posts
    790
    The question is will MSVC express accept the third party edited file?

    I heard it didnt. Thats one of my fears too.
    Compiler MSVC++ 2013 with Code::Blocks.

  4. #4
    Absent Minded Programmer
    Join Date
    May 2005
    Posts
    964
    I think that may be the case, it could not compile the resource file, something about not finding winresrc.h
    Sometimes I forget what I am doing when I enter a room, actually, quite often.

  5. #5
    Registered User Codeplug's Avatar
    Join Date
    Mar 2003
    Posts
    4,668
    >> The question is will MSVC express accept the third party edited file?
    It's a text file. If there are resource compile errors, you fix it just you would a C/C++ source file.

    >> something about not finding winresrc.h
    You need to download and install the platform SDK. Windows programming links

    gg

  6. #6
    Tropical Coder Darryl's Avatar
    Join Date
    Mar 2005
    Location
    Cayman Islands
    Posts
    503
    Quote Originally Posted by Codeplug View Post
    >> The question is will MSVC express accept the third party edited file?
    It's a text file. If there are resource compile errors, you fix it just you would a C/C++ source file.

    >> something about not finding winresrc.h
    You need to download and install the platform SDK. Windows programming links

    gg
    Or you can get the 2008 express edition which includes the SDK.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Help With finding a compiler
    By macman in forum A Brief History of Cprogramming.com
    Replies: 4
    Last Post: 04-15-2005, 08:15 AM
  2. Compiler questions
    By DvdHeijden in forum C++ Programming
    Replies: 6
    Last Post: 01-17-2005, 02:00 PM
  3. C Compiler
    By SAMSEIED in forum C Programming
    Replies: 5
    Last Post: 06-06-2002, 05:44 PM
  4. Special Compiler for win app's
    By Unregistered in forum Windows Programming
    Replies: 19
    Last Post: 04-26-2002, 03:52 PM
  5. Bad code or bad compiler?
    By musayume in forum C Programming
    Replies: 3
    Last Post: 10-22-2001, 09:08 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21