how to get percentage
#13
(10-08-2011, 06:40 PM)tonygr82 Wrote: ok, and how to do pipe? a tried with C# and that:

OCLProcess = new Process();
OCLProcess.StartInfo.FileName = cmdexePath;
OCLProcess.StartInfo.Arguments = cmdArguments;
OCLProcess.StartInfo.UseShellExecute = false;
OCLProcess.StartInfo.RedirectStandardOutput = true;
OCLProcess.StartInfo.RedirectStandardInput = true;
OCLProcess.OutputDataReceived += OutputHandler;
OCLProcess.Start();
OCLProcess.BeginOutputReadLine();

and without redirect standard in and output and the result are the same, no way to cumunicate with the cat, the application start to work but no create .restore file and i don't capable to send an "s" or any other command to do something

Use PostMessage
Example:
PostMessage(HWND_BROADCAST,WM_CHAR,Ord('s'),0);
For more help visit microsoft MSDN


Messages In This Thread
how to get percentage - by koursan - 09-17-2011, 12:03 AM
RE: how to get percentage - by atom - 09-17-2011, 09:45 AM
RE: how to get percentage - by tonygr82 - 10-04-2011, 10:25 PM
RE: how to get percentage - by atom - 10-05-2011, 09:42 AM
RE: how to get percentage - by tonygr82 - 10-05-2011, 04:37 PM
RE: how to get percentage - by tonygr82 - 10-07-2011, 06:09 AM
RE: how to get percentage - by atom - 10-07-2011, 09:36 AM
RE: how to get percentage - by tonygr82 - 10-07-2011, 05:30 PM
RE: how to get percentage - by atom - 10-07-2011, 05:49 PM
RE: how to get percentage - by tonygr82 - 10-08-2011, 05:18 PM
RE: how to get percentage - by KT819GM - 10-08-2011, 06:08 PM
RE: how to get percentage - by tonygr82 - 10-08-2011, 06:40 PM
RE: how to get percentage - by koursan - 10-09-2011, 10:41 AM
RE: how to get percentage - by tonygr82 - 10-14-2011, 07:57 AM
RE: how to get percentage - by atom - 10-14-2011, 09:38 AM
RE: how to get percentage - by atom - 10-24-2011, 12:37 PM