From: Will D. <dq...@in...> - 2002-06-18 08:34:45
|
At 00:51 18/06/2002 -0500, you wrote: >Will, > >I just pulled the source and try a quick compile. I'm getting the >following... > >MenuBuilder.cpp(209) : error C2065: 'MENUINFO' : undeclared identifier > >...any ideas? MENUINFO should be in windows.h/winuser.h, eh? If not, I'll >look at it tomorrow. This was very confusing. The docs say that this is available from Win98, so I'd expect it to work with WINVER >= 0x0410. However, it's actually defined for WINVER >= 0x0500. WINVER wasn't explicitly defined in the DQSDTools project, so you and I were seeing different defaults (I build with the current SDK rather than the VC6 headers). So, I've explicitly defined WINVER as 0x0410, which broke my code in the same way as yours, then I've removed the use of this function, which was a bit daft anyway. I've checked-in a new stdafx.h and a new menubuilder.cpp. Cheers, Will |