http://bugzilla.openwatcom.org/show_bug.cgi?id=1152
Summary: winresrc.h does not define WINVER
Product: Open Watcom Libraries
Version: OW 1.9
Platform: Win32 hosted tools
OS/Version: Windows (generic)
Status: UNCONFIRMED
Severity: normal
Priority: --
Component: C libraries
AssignedTo:
openwatco...@openwatcom.org
ReportedBy:
roger...@pamho.net
The include file winresrc.h in C:\WATCOM\h\nt does not define WINVER. Therefore
compiling a resource script using a constant like DS_3DLOOK fails. So the
contents of winresrc.h should be as follows:
#ifndef _WINRESRC_
#define _WINRESRC_
#ifndef _ENABLE_AUTODEPEND
#pragma read_only_file;
#endif
#ifndef _WINRESRC_
#define _WINRESRC_
#ifndef WINVER
#define WINVER 0x0500
#endif
#ifndef _WIN32_IE
#define _WIN32_IE 0x0501
#endif
#ifndef _WIN32_WINDOWS
#define _WIN32_WINDOWS 0x0410
#endif
#ifndef _WIN32_WINNT
#define _WIN32_WINNT 0x0500
#endif
#include <winuser.rh>
#include <commctrl.rh>
#include <dde.rh>
#include <winnt.rh>
#include <dlgs.h>
#include <winver.h>
#endif /* _WINRESRC_ */
--
Configure bugmail:
http://bugzilla.openwatcom.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.