Thread: Custom resource problem

  1. #1
    Registered User
    Join Date
    May 2002

    Custom resource problem

    I'm trying to load a custom resource into my prog and instead if defining the data in visual studio, I'm pointing it to a text file. The problem I'm having is that I'm getting a can't find file error when the resource script is getting compiled. The file is defined in my resource script like this:
    POPUPMSG            TEXT                                 "popmsg1.txt"
    The file is located in both my DEBUG folder as well as in the prog folder. I'm just not sure whats going on here. The icon and the String table load fine, but it just won't find this file. I'm using VC++.NET, any help would be greatly appreciated.

  2. #2
    &TH of undefined behavior Fordy's Avatar
    Join Date
    Aug 2001
    In VC++ its quite simple....dont need to even look at the text in the resource script

    Have a look at my response here

  3. #3
    Registered User
    Join Date
    May 2002
    Thanx Fordy, that was what I needed. Your help is greatly appreciated.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Resource Help
    By mikeman118 in forum Windows Programming
    Replies: 4
    Last Post: 09-03-2007, 01:33 PM
  2. resource file problem
    By cfrost in forum C++ Programming
    Replies: 1
    Last Post: 05-21-2004, 10:44 PM
  3. Resource size problem...
    By Devil Panther in forum Windows Programming
    Replies: 9
    Last Post: 04-29-2004, 01:58 PM
  4. resource file problem
    By jjj93421 in forum Game Programming
    Replies: 6
    Last Post: 03-30-2004, 10:58 PM
  5. Replies: 5
    Last Post: 12-03-2003, 05:47 PM