Using Microsoft Visual C# 2005 Express [2.0.50215]
With XP Pro
Console.Clear() ;
used as per the the sample at
is throwing an exception :
System.IO.IOExc eption was unhandled
Message="The handle is invalid.\r\n"
Source="mscorli b"
StackTrace:
at System.IO.__Err or.WinIOError(I nt32 errorCode, String
maybeFullPath)
at System.Console. GetBufferInfo(B oolean throwOnNoConsol e, Boolean&
succeeded)
at System.Console. GetBufferInfo()
at System.Console. Clear()
at TestClear.Progr am.Main(String[] args) in
C:\VCSharp\kwb_ testing\TestCle ar\TestClear\Pr ogram.cs:line 34
at System.AppDomai n.nExecuteAssem bly(Assembly assembly, String[]
args)
at System.AppDomai n.ExecuteAssemb ly(String assemblyFile, Evidence
assemblySecurit y, String[] args)
at Microsoft.Visua lStudio.Hosting Process.HostPro c.RunUsersAssem bly()
at System.Threadin g.ThreadHelper. ThreadStart_Con text(Object state)
at System.Threadin g.ExecutionCont ext.Run(Executi onContext
executionContex t, ContextCallback callback, Object state)
at System.Threadin g.ThreadHelper. ThreadStart()
... Can anyone throw some light on this ??
Regards
Kerry
With XP Pro
Console.Clear() ;
used as per the the sample at
is throwing an exception :
System.IO.IOExc eption was unhandled
Message="The handle is invalid.\r\n"
Source="mscorli b"
StackTrace:
at System.IO.__Err or.WinIOError(I nt32 errorCode, String
maybeFullPath)
at System.Console. GetBufferInfo(B oolean throwOnNoConsol e, Boolean&
succeeded)
at System.Console. GetBufferInfo()
at System.Console. Clear()
at TestClear.Progr am.Main(String[] args) in
C:\VCSharp\kwb_ testing\TestCle ar\TestClear\Pr ogram.cs:line 34
at System.AppDomai n.nExecuteAssem bly(Assembly assembly, String[]
args)
at System.AppDomai n.ExecuteAssemb ly(String assemblyFile, Evidence
assemblySecurit y, String[] args)
at Microsoft.Visua lStudio.Hosting Process.HostPro c.RunUsersAssem bly()
at System.Threadin g.ThreadHelper. ThreadStart_Con text(Object state)
at System.Threadin g.ExecutionCont ext.Run(Executi onContext
executionContex t, ContextCallback callback, Object state)
at System.Threadin g.ThreadHelper. ThreadStart()
... Can anyone throw some light on this ??
Regards
Kerry
Comment