2010-05-15 09:43 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/rtl/hbcom.c
* harbour/contrib/hbct/ctcom1.c
* harbour/contrib/hbct/ctcom2.c
* removed unused code and added parenthesis to pacify warning
* harbour/contrib/gtwvg/gtwvg.h
* harbour/contrib/gtwvg/wvggui.h
* harbour/contrib/hbwin/win_dlg.c
* updated included header files
(it fixes problem with BCC5.5 and POCC/XCC builds)
This commit is contained in:
@@ -17,6 +17,19 @@
|
||||
past entries belonging to author(s): Viktor Szakats.
|
||||
*/
|
||||
|
||||
2010-05-15 09:43 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
|
||||
* harbour/src/rtl/hbcom.c
|
||||
* harbour/contrib/hbct/ctcom1.c
|
||||
* harbour/contrib/hbct/ctcom2.c
|
||||
* removed unused code and added parenthesis to pacify warning
|
||||
|
||||
* harbour/contrib/gtwvg/gtwvg.h
|
||||
* harbour/contrib/gtwvg/wvggui.h
|
||||
* harbour/contrib/hbwin/win_dlg.c
|
||||
* updated included header files
|
||||
(it fixes problem with BCC5.5 and POCC/XCC builds)
|
||||
|
||||
|
||||
2010-05-15 09:16 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
|
||||
* contrib/hbziparc/hbziparc.prg
|
||||
! Fixed regression in HB_ZIPFILE() to make it work in
|
||||
|
||||
@@ -69,6 +69,7 @@
|
||||
#include <winuser.h>
|
||||
#include <commctrl.h>
|
||||
#if ! defined( HB_OS_WIN_CE )
|
||||
#include <ole2.h>
|
||||
#include <olectl.h>
|
||||
#include <ocidl.h>
|
||||
#endif
|
||||
|
||||
@@ -68,6 +68,11 @@
|
||||
#include <windows.h>
|
||||
#include <winuser.h>
|
||||
#include <commctrl.h>
|
||||
#if ! defined( HB_OS_WIN_CE )
|
||||
#include <ole2.h>
|
||||
#include <olectl.h>
|
||||
#include <ocidl.h>
|
||||
#endif
|
||||
#include <commdlg.h>
|
||||
#include <shellapi.h>
|
||||
|
||||
@@ -85,6 +90,10 @@
|
||||
|
||||
#include "hbgtwvg.ch"
|
||||
|
||||
#if defined( HB_OS_WIN_CE )
|
||||
#include "hbwince.h"
|
||||
#endif
|
||||
|
||||
HB_EXTERN_BEGIN
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
@@ -420,7 +420,7 @@ HB_FUNC( COM_READ )
|
||||
else
|
||||
{
|
||||
lLen = hb_comInputCount( iPort );
|
||||
if( lLen < ( long ) sizeof( buffer ) >> 1 )
|
||||
if( lLen < ( long ) ( sizeof( buffer ) >> 1 ) )
|
||||
lLen = sizeof( buffer );
|
||||
else
|
||||
lLen <<= 2;
|
||||
|
||||
@@ -206,7 +206,6 @@ HB_FUNC( ZEROINSERT )
|
||||
nLen = hb_itemGetCLen( pString );
|
||||
uiVal = 0;
|
||||
nBits = 0;
|
||||
uiVal = 0;
|
||||
/* NOTE: trailing zero accessed intentionally */
|
||||
for( n = 0; n <= nLen; ++n )
|
||||
{
|
||||
|
||||
@@ -58,6 +58,9 @@
|
||||
#include "hbwin.h"
|
||||
#include "hbwapi.h"
|
||||
|
||||
#if defined( __XCC__ )
|
||||
# include <ole2.h>
|
||||
#endif
|
||||
#include <commdlg.h>
|
||||
|
||||
/* WIN_PRINTDLGDC( [@<cDevice>], [<nFromPage>], [<nToPage>], [<nCopies>] )
|
||||
|
||||
@@ -1833,8 +1833,6 @@ int hb_comInit( int iPort, int iBaud, int iParity, int iSize, int iStop )
|
||||
{
|
||||
if( iBaud )
|
||||
dcb.BaudRate = ( DWORD ) iBaud;
|
||||
else
|
||||
iBaud = ( int ) dcb.BaudRate;
|
||||
dcb.fBinary = 1;
|
||||
dcb.fParity = 0;
|
||||
dcb.fOutxCtsFlow = 0;
|
||||
|
||||
Reference in New Issue
Block a user