Tired of modifying "resource.h"

C

ccon67

In a win32 project I have several compile errors for the resource
*.rc. The first fews errors look like this

error RC2144 : PRIMARY LANGUAGE ID not a number
error RC2135 : file not found: MAIN_MENU
error RC2164 : unexpected value in RCDATA

To overcome all of these errors, I include <windows.h> at the top of
"resource.h". But verytime the resource editor is touch, a new
resource.h is generated and I have to add that line again...I'm tired
doing that :(, does anyone know how stop it?

Many thanks
 
V

Victor Bazarov

In a win32 project I have several compile errors for the resource
*.rc. The first fews errors look like this

error RC2144 : PRIMARY LANGUAGE ID not a number
error RC2135 : file not found: MAIN_MENU
error RC2164 : unexpected value in RCDATA

To overcome all of these errors, I include <windows.h> at the top of
"resource.h". But verytime the resource editor is touch, a new
resource.h is generated and I have to add that line again...I'm tired
doing that :(, does anyone know how stop it?

Your question is off-topic here. Please ask in the newsgroup for Win32
programming or for your compiler/IDE.

V
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,178
Messages
2,570,955
Members
47,509
Latest member
Jack116

Latest Threads

Top