Thread: Dev C++ Problem

  1. #1
    Registered User
    Join Date
    May 2002
    Posts
    208

    Dev C++ Problem

    I am trying to create a Win32 program in dev c++ and for some reason when I create a resource file it doesn't create a header. They guy in the tutorial says that it is supposed to. Also he says to choose win32 as my project bu there is no win32 option when i create a new project
    Jeff Paddon
    Undergraduate Research Assistant
    Physics Department
    St. Francis Xavier University

  2. #2
    I am the worst best coder Quantrizi's Avatar
    Join Date
    Mar 2002
    Posts
    644
    By this I hope you mean console.....if not, then you will have to do more than that to make it work. Also, Win32 means Windows. The 32 means 32-bit, but not of much importance right now.

  3. #3
    in Dev-C++ you have to make your own resource headers. The only thing for resources Dev-C++ does is include a cheap visual editor.

  4. #4
    Registered User
    Join Date
    May 2002
    Posts
    208

    but when i

    edit the resource file isn't it supposed to create a header. If not then how would I go about doing that. Would anyone recommend that I get VC++.
    Jeff Paddon
    Undergraduate Research Assistant
    Physics Department
    St. Francis Xavier University

  5. #5
    I am the worst best coder Quantrizi's Avatar
    Join Date
    Mar 2002
    Posts
    644

    Re: but when i

    Originally posted by kas2002
    edit the resource file isn't it supposed to create a header. If not then how would I go about doing that. Would anyone recommend that I get VC++.
    Like I said before, I hope you mean win32 console. Console programs do not use resource files. Only Windows Apps use them.

  6. #6
    Registered User
    Join Date
    Jun 2002
    Posts
    267

    Re: but when i

    Originally posted by kas2002
    edit the resource file isn't it supposed to create a header. If not then how would I go about doing that. Would anyone recommend that I get VC++.
    I would, VC++ has many, many nifty little features that come in handy......

    However, you can use a third party resource editor like Resource Tuner , but it's not free..... anyone know of a free, and quality resource editor?

  7. #7
    look dude, it's not hard to make a resource header

    here is a simple one:

    Code:
    ///////////////////////////////////////////////
    // Resource.h
    ///////////////////////////////////////////////
    
    #define MENU 1000
    then in your resource file include resource.h

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Laptop Problem
    By Boomba in forum Tech Board
    Replies: 1
    Last Post: 03-07-2006, 06:24 PM
  2. Replies: 5
    Last Post: 11-07-2005, 11:34 PM
  3. Problem running prog I wrote in Dev C++
    By KidMan in forum C Programming
    Replies: 8
    Last Post: 09-22-2005, 01:50 AM
  4. searching problem
    By DaMenge in forum C Programming
    Replies: 9
    Last Post: 09-12-2005, 01:04 AM
  5. half ADT (nested struct) problem...
    By CyC|OpS in forum C Programming
    Replies: 1
    Last Post: 10-26-2002, 08:37 AM