2009-12-12 19:55 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)

* contrib/hbwin/win_misc.c
    ! Fixed declaration following code.
This commit is contained in:
Viktor Szakats
2009-12-12 18:56:14 +00:00
parent 2430d97b22
commit 93ad5ffadd
2 changed files with 7 additions and 3 deletions

View File

@@ -17,6 +17,10 @@
past entries belonging to author(s): Viktor Szakats.
*/
2009-12-12 19:55 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbwin/win_misc.c
! Fixed declaration following code.
2009-12-12 19:27 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbwin/mapi.c
+ Added support for UNICODE.

View File

@@ -75,6 +75,9 @@ HB_FUNC( WIN_RUNDETACHED )
void * hCommandName;
void * hCommandLine;
HB_SIZE nLen;
LPCTSTR lpCommandRO = HB_PARSTR( 2, &hCommandLine, &nLen );
#if ! defined( HB_OS_WIN_CE )
STARTUPINFO si;
PROCESS_INFORMATION pi;
@@ -84,9 +87,6 @@ HB_FUNC( WIN_RUNDETACHED )
ZeroMemory( &pi, sizeof( pi ) );
#endif
HB_SIZE nLen;
LPCTSTR lpCommandRO = HB_PARSTR( 2, &hCommandLine, &nLen );
if( CreateProcess(
HB_PARSTR( 1, &hCommandName, NULL ), /* Command name */
HB_STRUNSHARE( &hCommandLine, lpCommandRO, nLen ), /* Command line (Unicode version needs an non-const buffer) */