From 3ad13ee5e1d00a1010f27efff1849dd0302c6ec5 Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Tue, 22 Sep 2009 12:57:36 +0000 Subject: [PATCH] 2009-09-22 14:57 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * contrib/hbmemio/tests/test.prg * contrib/hbmemio/memio.c * Internal name also renamed to HB_MEMIO (from HB_IODMEM). * source/vm/dynlibhb.c + cast. --- harbour/ChangeLog | 8 ++++++++ harbour/contrib/hbmemio/memio.c | 4 ++-- harbour/contrib/hbmemio/tests/test.prg | 2 +- harbour/source/vm/dynlibhb.c | 2 +- 4 files changed, 12 insertions(+), 4 deletions(-) diff --git a/harbour/ChangeLog b/harbour/ChangeLog index 0841bbf831..4df90a07fa 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -17,6 +17,14 @@ past entries belonging to author(s): Viktor Szakats. */ +2009-09-22 14:57 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) + * contrib/hbmemio/tests/test.prg + * contrib/hbmemio/memio.c + * Internal name also renamed to HB_MEMIO (from HB_IODMEM). + + * source/vm/dynlibhb.c + + cast. + 2009-09-22 12:58 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbrddcdx.h * harbour/source/rdd/dbfcdx/dbfcdx1.c diff --git a/harbour/contrib/hbmemio/memio.c b/harbour/contrib/hbmemio/memio.c index 5628a4fb0b..3713213d95 100644 --- a/harbour/contrib/hbmemio/memio.c +++ b/harbour/contrib/hbmemio/memio.c @@ -737,10 +737,10 @@ static PHB_FILE s_fileNew( HB_FHANDLE hFile ) } -HB_FUNC( HB_IODMEM ) {;} +HB_FUNC( HB_MEMIO ) {;} HB_INIT_SYMBOLS_BEGIN( iodmem__InitSymbols ) -{ "HB_IODMEM", {HB_FS_PUBLIC|HB_FS_LOCAL}, {HB_FUNCNAME( HB_IODMEM )}, NULL } +{ "HB_MEMIO", {HB_FS_PUBLIC|HB_FS_LOCAL}, {HB_FUNCNAME( HB_MEMIO )}, NULL } HB_INIT_SYMBOLS_END( iodmem__InitSymbols ) HB_CALL_ON_STARTUP_BEGIN( _hb_file_io_init_ ) diff --git a/harbour/contrib/hbmemio/tests/test.prg b/harbour/contrib/hbmemio/tests/test.prg index a6579a9fa1..8bdaf4939a 100644 --- a/harbour/contrib/hbmemio/tests/test.prg +++ b/harbour/contrib/hbmemio/tests/test.prg @@ -2,7 +2,7 @@ * $Id$ */ -REQUEST HB_IODMEM +REQUEST HB_MEMIO PROC Main() LOCAL nI diff --git a/harbour/source/vm/dynlibhb.c b/harbour/source/vm/dynlibhb.c index 4d97675dd0..8beccb4dc2 100644 --- a/harbour/source/vm/dynlibhb.c +++ b/harbour/source/vm/dynlibhb.c @@ -105,7 +105,7 @@ HB_FUNC( HB_LIBLOAD ) { LPTSTR lpFileName = HB_TCHAR_CONVTO( hb_parc( 1 ) ); - hDynLib = ( void * ) LoadLibrary( lpFileName ); + hDynLib = ( void * ) LoadLibrary( ( LPCTSTR ) lpFileName ); HB_TCHAR_FREE( lpFileName ); }