From: lcl99 AT my-deja DOT com Newsgroups: comp.os.msdos.djgpp Subject: Re: Paste Win Clipboard in DOS? Date: Wed, 10 Nov 1999 22:53:07 GMT Organization: Deja.com - Before you buy. Lines: 14 Message-ID: <80ct0i$kie$1@nnrp1.deja.com> References: <7uisdg$62d$1 AT solomon DOT cs DOT rose-hulman DOT edu> <380D100D DOT AD2EC6F6 AT Maths DOT UniNe DOT CH> <7uj7la$773$1 AT solomon DOT cs DOT rose-hulman DOT edu> <381279c8 DOT 9853836 AT newsserver DOT cc DOT monash DOT edu DOT au> <80cj2k$ce7$1 AT nnrp1 DOT deja DOT com> NNTP-Posting-Host: 192.91.146.35 X-Article-Creation-Date: Wed Nov 10 22:53:07 1999 GMT X-Http-User-Agent: Mozilla/4.7 [en] (Win98; U) X-Http-Proxy: 1.0 x34.deja.com:80 (Squid/1.1.22) for client 192.91.146.35 X-MyDeja-Info: XMYDJUIDlcl99 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com In article <80cj2k$ce7$1 AT nnrp1 DOT deja DOT com>, lcl99 AT my-deja DOT com wrote: > The size regs (dx:ax) always come back 0. Any idea why? > I found the problem myself. Before the 0x1704 call to get the size of the clipboard, I wasn't setting dx to 1 (the data type). I set it before the calls to write data to the clipboard or read data from it, but I forgot to on that one. (In case anybody else runs into this.) Thanks. Sent via Deja.com http://www.deja.com/ Before you buy.