|
// *********************************************************
// 外部プログラムの実行
// 戻り値 : true 成功, false 失敗
// szCurDirectory が必要無い場合は NULL を指定する
// *********************************************************
BOOL LboxTool::Execute( LPTSTR szCommand, LPTSTR szCurDirectory )
{
return LboxExecute(
szCommand,
szCurDirectory
);
}
BOOL LboxTool::Execute( LboxString *LstrCommand, LboxString *LstrCurDir )
{
if ( LstrCurDir == NULL ) {
return LboxExecute(
LstrCommand->szLboxString,
NULL
);
}
else {
return LboxExecute(
LstrCommand->szLboxString,
LstrCurDir->szLboxString
);
}
}
| |