Hello ,
I am developping a program for Win98 plateform, and I am stucking with a
problem, hope you can help me.
I have a program running 2 process :
- One process running the Xcopy.exe
- When the first process is finished, it runs another Exe process (HHC.exe)
The code is below:
// Process 1: Xcopy.exe to copy directory 1 to 2
compiler.StartI nfo.FileName = "Xcopy.exe" ;
compiler.StartI nfo.Arguments = Dir1 + Dir2 + " " + "/S /Y";
compiler.StartI nfo.UseShellExe cute = false;
compiler.StartI nfo.CreateNoWin dow = true;
compiler.Start( );
while (!compiler.HasE xited)
{
Application.DoE vents();
{
// Process 2: Recompilation the new CHM with Hhc.exe external command
compiler.StartI nfo.FileName = Dir 2 + "\\" + "hhc.exe";
compiler.StartI nfo.Arguments = Dir2 + "\\" + "Help.hhp";
compiler.StartI nfo.UseShellExe cute = false;
compiler.StartI nfo.CreateNoWin dow = true;
compiler.Start( );
while (!compiler.HasE xited)
{
Application.DoE vents();
}
My problem is that, when I run this program in Windows 98, the Xcopy process
runs in the black window and it hangs, the process 2 cannot be run until I
manually close it command window
The same program works fine in WinXP or 2000
Do you have a clue of what' s going on ?, how can I avoid this Xcopy black
screen to appear in win98 ?
thanks for your help
S
I am developping a program for Win98 plateform, and I am stucking with a
problem, hope you can help me.
I have a program running 2 process :
- One process running the Xcopy.exe
- When the first process is finished, it runs another Exe process (HHC.exe)
The code is below:
// Process 1: Xcopy.exe to copy directory 1 to 2
compiler.StartI nfo.FileName = "Xcopy.exe" ;
compiler.StartI nfo.Arguments = Dir1 + Dir2 + " " + "/S /Y";
compiler.StartI nfo.UseShellExe cute = false;
compiler.StartI nfo.CreateNoWin dow = true;
compiler.Start( );
while (!compiler.HasE xited)
{
Application.DoE vents();
{
// Process 2: Recompilation the new CHM with Hhc.exe external command
compiler.StartI nfo.FileName = Dir 2 + "\\" + "hhc.exe";
compiler.StartI nfo.Arguments = Dir2 + "\\" + "Help.hhp";
compiler.StartI nfo.UseShellExe cute = false;
compiler.StartI nfo.CreateNoWin dow = true;
compiler.Start( );
while (!compiler.HasE xited)
{
Application.DoE vents();
}
My problem is that, when I run this program in Windows 98, the Xcopy process
runs in the black window and it hangs, the process 2 cannot be run until I
manually close it command window
The same program works fine in WinXP or 2000
Do you have a clue of what' s going on ?, how can I avoid this Xcopy black
screen to appear in win98 ?
thanks for your help
S
Comment