From: Edward Middleton Date: 2004-03-31T17:24:59+09:00 Subject: Re: wrapping interactive console program in Windows --------------enig7BCAB78F9D68151181B28FDB Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit nobu.nokada@softhome.net wrote: >>I think this is how to do it. >> >>http://msdn.microsoft.com/library/en-us/dllproc/base/character_mode_applications.asp >> >> > >I didn't mean how to use console, but how to provide console >features to subprocess from a process. > I am not sure I am understanding but would this be what you are refering to. It allows you to create a new process in a new console or inherit the parents console. http://msdn.microsoft.com/library/en-us/dllproc/base/createprocess.asp It is also possiable to associate a console with a graphical application using http://msdn.microsoft.com/library/en-us/dllproc/base/allocconsole.asp Edward Middleton --------------enig7BCAB78F9D68151181B28FDB Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Cygwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFAaoBXZUwEk2PVHAwRAisEAJ442OiuzSdikaTVM1iuA8SdDJpV9wCfaQSF F9UIgMN8JBI7Ku0qaYK3IoE= =1ZLo -----END PGP SIGNATURE----- --------------enig7BCAB78F9D68151181B28FDB--