2009-12-13 17:29 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)

* contrib/hbwin/mapi.c
    ! Added back zeroing rcp/file structure list.

  * INSTALL
    * Minor.

  * contrib/gtwvg/wvgutils.c
  * contrib/hbwin/win_misc.c
  * contrib/hbwin/mapi.c
    * ZeroMemory() -> memset()
This commit is contained in:
Viktor Szakats
2009-12-13 16:30:16 +00:00
parent b36077420e
commit f3be4e51c5
5 changed files with 23 additions and 8 deletions

View File

@@ -17,6 +17,18 @@
past entries belonging to author(s): Viktor Szakats.
*/
2009-12-13 17:29 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbwin/mapi.c
! Added back zeroing rcp/file structure list.
* INSTALL
* Minor.
* contrib/gtwvg/wvgutils.c
* contrib/hbwin/win_misc.c
* contrib/hbwin/mapi.c
* ZeroMemory() -> memset()
2009-12-13 14:46 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbwin/mapi.c
+ Added support for unlimited number of recipients and

View File

@@ -361,7 +361,7 @@ HARBOUR
Linux (Debian, Ubuntu, .deb based distros)
------------------------------------------
(tested with Ubuntu 7.04, 8.04, 9.04)
(tested with Ubuntu 7.04, 8.04, 9.04, 9.10)
for zlib support: $ sudo apt-get install zlib1g-dev
for pcre (regex) support: $ sudo apt-get install libpcre3-dev
@@ -1139,7 +1139,7 @@ HARBOUR
linux -> linux/clang (CPU cross-builds possible)
linux -> linux/icc (CPU cross-builds possible: x86, x86-64, ia64)
linux -> linux/sunpro (CPU cross-builds possible: x86, x86-64)
linux -> linux/open64 x86-64 (CPU cross-builds possible: ia64, ...)
linux -> linux/open64 (CPU cross-builds possible: x86-64, ia64, ...)
x linux -> wce/mingwarm arm
x linux -> wce/mingw x86
x linux -> win/mingw x86

View File

@@ -1501,7 +1501,7 @@ HB_FUNC( WVT__GETOPENFILENAME )
lpstrInitialDir = HB_PARTSTR( 6 );
lpstrDefExt = HB_PARTSTR( 7 );
ZeroMemory( &ofn, sizeof( ofn ) );
memset( &ofn, 0, sizeof( ofn ) );
ofn.hInstance = GetModuleHandle( NULL ) ;
ofn.lStructSize = sizeof( ofn );
@@ -1548,7 +1548,7 @@ HB_FUNC( WVT__GETSAVEFILENAME )
lpstrInitialDir = HB_PARTSTR( 6 );
lpstrDefExt = HB_PARTSTR( 7 );
ZeroMemory( &ofn, sizeof( ofn ) );
memset( &ofn, 0, sizeof( ofn ) );
ofn.hInstance = GetModuleHandle( NULL );
ofn.lStructSize = sizeof( ofn );

View File

@@ -90,8 +90,8 @@ HB_FUNC( WIN_MAPISENDMAIL )
MapiRecipDesc origin;
FLAGS flags;
ZeroMemory( &note, sizeof( MapiMessage ) );
ZeroMemory( &origin, sizeof( MapiRecipDesc ) );
memset( &note, 0, sizeof( MapiMessage ) );
memset( &origin, 0, sizeof( MapiRecipDesc ) );
hString = ( void ** ) hb_xgrab( ( 4 + 2 + ( 2 * nRecpCount ) + ( 2 * nFileCount ) ) * sizeof( void * ) );
@@ -104,6 +104,9 @@ HB_FUNC( WIN_MAPISENDMAIL )
note.nFileCount = 0;
note.nRecipCount = 0;
memset( note.lpRecips, 0, nRecpCount * sizeof( MapiRecipDesc ) );
memset( note.lpRecips, 0, nFileCount * sizeof( MapiFileDesc ) );
if( hb_parl( 6 ) )
note.flFlags |= MAPI_RECEIPT_REQUESTED;

View File

@@ -82,9 +82,9 @@ HB_FUNC( WIN_RUNDETACHED )
STARTUPINFO si;
PROCESS_INFORMATION pi;
ZeroMemory( &si, sizeof( si ) );
memset( &si, 0, sizeof( si ) );
si.cb = sizeof( si );
ZeroMemory( &pi, sizeof( pi ) );
memset( &pi, 0, sizeof( pi ) );
#endif
if( CreateProcess(