2010-04-22 18:29 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)

* contrib/gtwvg/Makefile
  * contrib/hbwin/Makefile
    + Enabled WIN32_LEAN_AND_MEAN mode.

  * contrib/hbwin/wapi_wingdi.c
  * contrib/hbwin/wapi_shellapi.c
  * contrib/hbwin/win_shell.c
    ! Fixed to build in WIN32_LEAN_AND_MEAN mode.
This commit is contained in:
Viktor Szakats
2010-04-22 16:30:14 +00:00
parent 60d14a931a
commit ab0e53cbe1
6 changed files with 22 additions and 0 deletions

View File

@@ -17,6 +17,16 @@
past entries belonging to author(s): Viktor Szakats.
*/
2010-04-22 18:29 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/gtwvg/Makefile
* contrib/hbwin/Makefile
+ Enabled WIN32_LEAN_AND_MEAN mode.
* contrib/hbwin/wapi_wingdi.c
* contrib/hbwin/wapi_shellapi.c
* contrib/hbwin/win_shell.c
! Fixed to build in WIN32_LEAN_AND_MEAN mode.
2010-04-22 18:12 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
+ Added information for CUPS.

View File

@@ -56,6 +56,9 @@ ifeq ($(HB_PLATFORM),win)
HB_INC_DEPEND := -I$(TOP)$(ROOT)contrib/hbwin
# Optimize build time and make sure we build even with this option
HB_CFLAGS += -DWIN32_LEAN_AND_MEAN
include $(TOP)$(ROOT)config/header.mk
include $(TOP)$(ROOT)config/lib.mk
else

View File

@@ -83,6 +83,9 @@ ifneq ($(filter $(HB_PLATFORM),win wce),)
endif
endif
# Optimize build time and make sure we build even with this option
HB_CFLAGS += -DWIN32_LEAN_AND_MEAN
include $(TOP)$(ROOT)config/header.mk
include $(TOP)$(ROOT)config/lib.mk
else

View File

@@ -55,6 +55,8 @@
#include "hbwince.h"
#endif
#include <shellapi.h>
HB_FUNC( WAPI_SHELLEXECUTE )
{
#if defined( HB_OS_WIN_CE )

View File

@@ -63,6 +63,8 @@
#include "hbwince.h"
#endif
#include <winspool.h>
static void s_hb_hashSetCItemNL( PHB_ITEM pHash, const char * pszKey, long v )
{
PHB_ITEM pKey = hb_itemPutC( NULL, pszKey );

View File

@@ -62,6 +62,8 @@
#include "hbwapi.h"
#include <shellapi.h>
/* WIN_ShellNotifyIcon( [<hWnd>], [<nUID>], [<nMessage>], [<hIcon>],
[<cTooltip>], [<lAddDel>],
[<cInfo>], [<nInfoTimeOut>], [<cInfoTitle>], [<nInfoFlags>] ) -> <lOK> */