From: SourceForge.net <no...@so...> - 2005-07-23 03:08:25
|
Bugs item #1210712, was opened at 2005-05-29 03:10 Message generated for change (Comment added) made by mdejong You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=112997&aid=1210712&group_id=12997 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: 85. Win Build Group: current: 8.5a3 >Status: Closed >Resolution: Fixed Priority: 5 Submitted By: Tiago Dionizio (tngd) Assigned to: Mo DeJong (mdejong) Summary: mingw needs _WIN32_WINNT = 0x0403 for SendInput API Initial Comment: When building with Mingw32, SendInput API requires _WIN32_WINNT to be at least 0x0403 to be declared (in file winable.h). ---------------------------------------------------------------------- >Comment By: Mo DeJong (mdejong) Date: 2005-07-22 20:08 Message: Logged In: YES user_id=90858 Fixed in CVS as of 7/22/05. Note that an upgrade to msys_mingw7.zip is needed to build under Mingw. ---------------------------------------------------------------------- Comment By: Wolfgang Grossbauer (magro) Date: 2005-07-12 23:24 Message: Logged In: YES user_id=83653 Changed _WIN32_WINNT in tkWinX.c accordingly, but get still the same error. W2K/SP4 ---------------------------------------------------------------------- Comment By: Michael Schlenker (mic42) Date: 2005-07-12 17:25 Message: Logged In: YES user_id=302287 This code at the top of tkWinX.c is simply wrong: /* * Make sure the SendInput API is available: */ #if (_WIN32_WINNT <= 0x0400) #undef _WIN32_WINNT #define _WIN32_WINNT 0x0401 #endif #include "tkWinInt.h" it has to be: /* * Make sure the SendInput API is available: */ #if (_WIN32_WINNT <= 0x0400) #undef _WIN32_WINNT #define _WIN32_WINNT 0x0403 #endif #include "tkWinInt.h" for SendInput to be available (NT4 SP 3) not NT4 Service Pack 1. Michael ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=112997&aid=1210712&group_id=12997 |