RC error "cannot open include file 'windows.h'"

Written by Embarcadero USA on Posted in TOOLS

 Technical Notes Database

TN1638C.txt   RC error "cannot open include file 'windows.h'"
Category   :Win16 API
Platform    :All
Product    :C++  All

Description:
QUESTION:
The resource compiler generates the following error message.  What's up?:
FILE.RC(1) : fatal error C1015: cannot open include file 'windows.h'
RC : fatal error RW1016: RC terminating after preprocessor errors
** error 1 ** deleting bert.res
ANSWER:
The Resource Compiler (a Microsoft product) requires an environment 
variable to be set.  A line similar to the following should do the trick:
set INCLUDE=c:\borlandc\include


Reference:


7/2/98 10:42:28 AM
 


Article originally contributed by Borland Staff

Tags: C++Builder Platforms Win32 Win16



Check out more tips and tricks in this development video: