2010-05-16 00:48 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbwin/win_srv.c
* contrib/hbwin/tests/testsrv.prg
* Cleaned list of header files.
* Synced static string buffer sizes with allowed maximums
and appropriate macro.
This commit is contained in:
@@ -17,6 +17,13 @@
|
||||
past entries belonging to author(s): Viktor Szakats.
|
||||
*/
|
||||
|
||||
2010-05-16 00:48 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
|
||||
* contrib/hbwin/win_srv.c
|
||||
* contrib/hbwin/tests/testsrv.prg
|
||||
* Cleaned list of header files.
|
||||
* Synced static string buffer sizes with allowed maximums
|
||||
and appropriate macro.
|
||||
|
||||
2010-05-16 00:38 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
|
||||
* contrib/hbwin/win_srv.c
|
||||
* Renamed more variables.
|
||||
@@ -24,6 +31,8 @@
|
||||
of freeing string pointers still assigned inside Windows
|
||||
structures.
|
||||
! WIN_SERVICESTART() fixed to set last error.
|
||||
! Fixed to avoid passing NULL string pointers where Windows API
|
||||
documentation doesn't allow it.
|
||||
|
||||
* contrib/hbwin/tests/testsrv.prg
|
||||
! Fixed to have the default action called
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
/*
|
||||
* Harbour Project source code:
|
||||
* Windows Service
|
||||
* Windows Service API test code
|
||||
*
|
||||
* Copyright 2010 Jose Luis Capel - <jlcapel at hotmail . com>
|
||||
* www - http://www.harbour-project.org
|
||||
@@ -50,7 +50,6 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#include "hbtrace.ch"
|
||||
#include "hbwin.ch"
|
||||
|
||||
#include "common.ch"
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
/*
|
||||
* Harbour Project source code:
|
||||
* Windows Service
|
||||
* Windows Service API
|
||||
*
|
||||
* Copyright 2010 Jose Luis Capel - <jlcapel at hotmail . com>
|
||||
* www - http://www.harbour-project.org
|
||||
@@ -50,18 +50,16 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#include "hbapi.h"
|
||||
#include "hbvm.h"
|
||||
#include "hbwinuni.h"
|
||||
|
||||
#include "hbwapi.h"
|
||||
|
||||
#include "hbvm.h"
|
||||
|
||||
#if ! defined( HB_OS_WIN_CE )
|
||||
|
||||
static SERVICE_STATUS s_ServiceStatus;
|
||||
static SERVICE_STATUS_HANDLE s_hStatus;
|
||||
static char s_szHarbourEntryFunc[ 64 ];
|
||||
static TCHAR s_lpServiceName[ 64 ];
|
||||
static char s_szHarbourEntryFunc[ HB_SYMBOL_NAME_LEN + 1 ];
|
||||
static TCHAR s_lpServiceName[ 256 ];
|
||||
|
||||
/* Control handler function */
|
||||
static void hbwin_ControlHandler( DWORD request )
|
||||
@@ -82,7 +80,7 @@ static void hbwin_ControlHandler( DWORD request )
|
||||
SetServiceStatus( s_hStatus, &s_ServiceStatus ); /* Report current status */
|
||||
}
|
||||
|
||||
static void hbwin_SrvFunction( int argc, char** argv )
|
||||
static void hbwin_SrvFunction( int argc, char ** argv )
|
||||
{
|
||||
HB_SYMBOL_UNUSED( argc );
|
||||
HB_SYMBOL_UNUSED( argv );
|
||||
|
||||
Reference in New Issue
Block a user