Code: Select all
#include "resources.h"
/*********************************************
File: D:\C\EJEMPLOS\DIALOGBOXES\RESOURCES.RC
Generated by Resource Builder 2.0.
*********************************************/
// Below are important 3 lines, don't change them!
/*
OutputExt=res
*/
DIALOG_0 DIALOG 0, 0, 485, 272
STYLE DS_SETFONT |WS_CHILD |WS_VISIBLE
FONT 8, "Tahoma"
LANGUAGE LANG_NEUTRAL, 0
BEGIN
CONTROL "Siguiente >>",0,"BUTTON",BS_DEFPUSHBUTTON |BS_VCENTER |BS_CENTER |WS_CHILD |WS_TABSTOP |WS_VISIBLE ,344,230,116,20
END
Code: Select all
#include <windows.h>
Code: Select all
D:\freecommandLinetools\Include
Everytime I try to open my .rc file I get the following message:
Code: Select all
Error ID: 116
Error message: File D:\freecommandLinetools\Include\windows.h. Line 54: 116. Number expected but got _MSC_VER in expression
What is wrong? The windows.h file has been modified and belongs to the BCC 5.5 package.
The only way I don't get an erro everytime I save the .rc file is by removing any #include sentence like #include <windows.h>