Thread: Displaying .rc files

  1. #1
    Registered User
    Join Date
    Jan 2003
    Posts
    361

    Displaying .rc files

    I am following the windows tutorials on sunlightd.com and cannot get the .rc file to show when I execute it. I made the resource with MSVC++ and added it to the project. My resource file doesn't show that it has defined anything for my .rc file at all.

    I hope I am not causing you guys too much grief, if it helps I did do a search but none of those seemed to help me very much.

  2. #2
    mustang benny bennyandthejets's Avatar
    Join Date
    Jul 2002
    Posts
    1,401
    What do you mean, executing an .rc file? Do you mean, accessing it in the resource editor?
    [email protected]
    Microsoft Visual Studio .NET 2003 Enterprise Architect
    Windows XP Pro

    Code Tags
    Programming FAQ
    Tutorials

  3. #3
    Registered User
    Join Date
    Feb 2003
    Posts
    76
    erm the thing is Visual C++ doesn't really show you much when it comes to resource files. If I were you I would open your resource file in notepad so you can see what is being defined and what is not. I program all my resource files in notepad because I hate the way visual C++ does it and it adds loads of code to your rc files that does not need to be there.

  4. #4
    mustang benny bennyandthejets's Avatar
    Join Date
    Jul 2002
    Posts
    1,401
    I agree. I hate the resource editor. I had a trick working a while back to edit the .rc file in text mode, but I can't remember it now. It involved creating the .rc normally, then opening it in notepad, changing stuff around, then Visual Studio would just open it as text. I'll post again when I remember how to do it.
    [email protected]
    Microsoft Visual Studio .NET 2003 Enterprise Architect
    Windows XP Pro

    Code Tags
    Programming FAQ
    Tutorials

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Error opening files in a different dir
    By Ozzie in forum C++ Programming
    Replies: 3
    Last Post: 10-09-2008, 06:55 AM
  2. Program Deployment and DLL/OCX Files?
    By dfghjk in forum C++ Programming
    Replies: 5
    Last Post: 06-16-2008, 02:47 AM
  3. .rc files in VC8
    By jsrig88 in forum Windows Programming
    Replies: 6
    Last Post: 05-10-2008, 06:01 PM
  4. accessing all files in a folder.
    By pastitprogram in forum C++ Programming
    Replies: 15
    Last Post: 04-30-2008, 10:56 AM
  5. Displaying files in a particular path in listbox????
    By richa.malhotra in forum Windows Programming
    Replies: 1
    Last Post: 02-28-2008, 07:11 PM