I think that you have to create one Windows Service Component and then call
this Component from Dos Application and also throw message to Message Queue
and then keep monitor in this message queue to read the new message.
Also, there are many other way to do so.
This is related to your applications design and pattern. You may have to
rewrite your application or re-design it.
--------Hope this may help you--------
Microsoft(Taiwan & Hong Kong) Community Star
Vice President of Hong Kong .NET User Group(www.hknetug.com)
MCP, MCP+I, MCDST, MCSA, MCSE(NT4 & Win2K), MCSE+I,
MCDBA(SQL7 & SQL2K), MCSD(VB6, VB.NET), MCAD(VB.NET)
šÓŠÛ·L³n§Þ³NªÀžs(Technical Communities)¡AšSŠ³ªÅ¶¡šîªº§K¶O§Þ³N€äŽ©ªA°È !