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:
@@ -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.
|
||||
|
||||
@@ -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) */
|
||||
|
||||
Reference in New Issue
Block a user