.net - Crash of my command line tool when it tries to access some Console Cursor related properties -


i'm trying retrieve standard output little command line tool wrote (in .net too) starting process this.

it works except if command line tool tries retrieve console.cursortop property, or tries set console.cursorvisible property. in cases, crashes.

i don't understand why happening, other methods or properties of console might work theses don't. there kind of hidden cursor object in console never initialized if started way?

this tool works fine if launch explorer or if run in cmd.

could explain me why happens , how can prevent it? thanks.


Comments

Popular posts from this blog

jQuery Mobile app not scrolling in Firefox -

c++ - How to add Crypto++ library to Qt project -

how to receive file in java(servlet/jsp) -