X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f X-Recipient: djgpp AT delorie DOT com Date: Sat, 14 Mar 2009 12:41:27 +0200 From: Eli Zaretskii Subject: Re: Copying clipboard into string In-reply-to: <49bad553$1$1110$4fafbaef@reader4.news.tin.it> X-012-Sender: halo1 AT inter DOT net DOT il To: djgpp AT delorie DOT com Message-id: References: <49bad553$1$1110$4fafbaef AT reader4 DOT news DOT tin DOT it> Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk > From: "Jason" > Date: Fri, 13 Mar 2009 22:51:10 +0100 > > it possible with Djgpp copying the contents of Windows > clipboard into a string. Yes, assuming you are on Windows 9X/Me. On W2K and later, no (AFAIK). > What commands should use? If you mean programmatically, then you will need to write code that accesses the Windows clipboard through Int 2Fh/AH=17h. > Do you have examples of code? One place you can look for an example is the file w16select.c in the Emacs sources.