See ChangeLog entry 2000-08-04 19:00 UTC-0400 David G. Holm <dholm@jsd-llc.com>
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
2000-08-04 19:00 UTC-0400 David G. Holm <dholm@jsd-llc.com>
|
||||
|
||||
* source/rtl/run.c
|
||||
* Changed submitted by Marek Paliwoda <paliwoda@inetia.pl>
|
||||
|
||||
2000-08-03 18:50 UTC+0800 Ron Pinkas <ron@profit-master.com>
|
||||
* source/macro/macro.slx
|
||||
* source/compiler/harbour.slx
|
||||
|
||||
@@ -37,7 +37,7 @@
|
||||
#include "hbapierr.h"
|
||||
#include "hbapigt.h"
|
||||
|
||||
/* TOFIX: The screen buffer handling is not right for all platforms (Win32)
|
||||
/* TOFIX: The screen buffer handling is not right for all platforms (Win32)
|
||||
The output of the launched (DOS?) app is not visible. */
|
||||
|
||||
HB_FUNC( __RUN )
|
||||
@@ -45,12 +45,17 @@ HB_FUNC( __RUN )
|
||||
#if defined(__TURBOC__) || defined(__BORLANDC__) || defined(_MSC_VER) || defined(__IBMCPP__) || defined(__GNUC__)
|
||||
if( ISCHAR( 1 ) )
|
||||
{
|
||||
hb_gtSuspend();
|
||||
system( hb_parc( 1 ) );
|
||||
hb_gtResume();
|
||||
if ( hb_gtSuspend() )
|
||||
{
|
||||
system( hb_parc( 1 ) );
|
||||
if ( !hb_gtResume() )
|
||||
{
|
||||
/* an error should be generated here !! Something like */
|
||||
/* hb_errRT_BASE_Ext1( EG_GTRESUME, 9999, NULL, "__RUN", 0, EF_CANDEFAULT ); */
|
||||
}
|
||||
}
|
||||
}
|
||||
#else
|
||||
hb_errRT_BASE_Ext1( EG_UNSUPPORTED, 9999, NULL, "__RUN", 0, EF_CANDEFAULT );
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user