From: arcadepreserv AT hotmail DOT com Newsgroups: comp.os.msdos.djgpp Subject: How Do I catch a "printf interrupt" ? Date: Wed, 26 Jan 2000 15:31:07 GMT Organization: Deja.com - Before you buy. Lines: 16 Message-ID: <86n3vr$dll$1@nnrp1.deja.com> NNTP-Posting-Host: 193.15.174.253 X-Article-Creation-Date: Wed Jan 26 15:31:07 2000 GMT X-Http-User-Agent: Mozilla/4.0 (compatible; MSIE 5.0; Windows NT; TUCOWS) X-Http-Proxy: 1.0 x24.deja.com:80 (Squid/1.1.22) for client 193.15.174.253 X-MyDeja-Info: XMYDJUIDkivik To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com I am doing a frontend to an MSdos application, i.e. another msdos application is started from my frontend, and I need to decode the output from this application. I think it is possible to trap a interrupt that accurs when a call to printf is made, and then read the string a pointer is pointing to. Could anyone tell me how to set up this trap, and what interrupt to use and what the registers hold, or perhaps there are some good URL:s for this ? I program in djgpp. Sent via Deja.com http://www.deja.com/ Before you buy.