cvs.gedasymbols.org/archives/browse.cgi | search |
From: | lcl99 AT my-deja DOT com |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Paste Win Clipboard in DOS? |
Date: | Wed, 10 Nov 1999 20:03:35 GMT |
Organization: | Deja.com - Before you buy. |
Lines: | 21 |
Message-ID: | <80cj2k$ce7$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> <Pine DOT SUN DOT 3 DOT 91 DOT 991020135205 DOT 22660S-100000 AT is> <BmkP3.103$zO DOT 6204 AT dfiatx1-snr1 DOT gtei DOT net> <381279c8 DOT 9853836 AT newsserver DOT cc DOT monash DOT edu DOT au> |
NNTP-Posting-Host: | 192.91.146.35 |
X-Article-Creation-Date: | Wed Nov 10 20:03:35 1999 GMT |
X-Http-User-Agent: | Mozilla/4.7 [en] (Win98; U) |
X-Http-Proxy: | 1.0 x26.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 |
DavMac AT iname DOT com (Davin McCall) wrote: > On Wed, 20 Oct 1999 14:30:57 GMT, "Damian Yerrick" > <web DOT poison AT pineight DOT 8m DOT com> wrote: > (Basically, Windows provides various functions to DOS programs through > an API - it allows things such as clipboard access, and changing > window title etc) > From this and other postings I've gathered how to do the int86 calls with interrupt 0x2F and regs.x.ax set to 0x1700, 0x1701, etc. to perform the different clipboard functions. I've been successful at copying from a DOS C program to the Windows clipboard (open, set, close), and pasting that data into Notepad. But I've never been able to paste from the clipboard back into the same DOS program (open, get size, get data, close), whether it was copied from Notepad or that same DOS program. The size regs (dx:ax) always come back 0. Any idea why? Sent via Deja.com http://www.deja.com/ Before you buy.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |