www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2008/09/11/17:16:06

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
From: Rugxulo <rugxulo AT gmail DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Copy Clipboard into file
Date: Thu, 11 Sep 2008 14:03:23 -0700 (PDT)
Organization: http://groups.google.com
Lines: 35
Message-ID: <639e6027-4dc9-49e8-b4f5-260184bcc706@2g2000hsn.googlegroups.com>
References: <48c77c8c$0$1085$4fafbaef AT reader1 DOT news DOT tin DOT it>
<48C86D77 DOT C5B16FFB AT yahoo DOT com> <48c8c9a4$0$40304$4fafbaef AT reader5 DOT news DOT tin DOT it>
<gaajul$5rl$1 AT registered DOT motzarella DOT org> <talhc456k9io8jsq5dddr3g4v2a856ocn1 AT 4ax DOT com>
NNTP-Posting-Host: 65.13.115.246
Mime-Version: 1.0
X-Trace: posting.google.com 1221167004 12882 127.0.0.1 (11 Sep 2008 21:03:24 GMT)
X-Complaints-To: groups-abuse AT google DOT com
NNTP-Posting-Date: Thu, 11 Sep 2008 21:03:24 +0000 (UTC)
Complaints-To: groups-abuse AT google DOT com
Injection-Info: 2g2000hsn.googlegroups.com; posting-host=65.13.115.246;
posting-account=p5rsXQoAAAB8KPnVlgg9E_vlm2dvVhfO
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.1)
Gecko/2008070208 Firefox/3.0.1,gzip(gfe),gzip(gfe)
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id m8BLF4Ft013587
Reply-To: djgpp AT delorie DOT com

Hi,

On Sep 11, 3:24 am, rich DOT  DOT  DOT  AT dogcreek DOT ca wrote:
> On Thu, 11 Sep 2008 04:13:04 -0400, Martin Ambuhl
>
> <mamb DOT  DOT  DOT  AT earthlink DOT net> wrote:
> >Over wrote:
> >>>> it's possible copying the clipboard of WinXp into file.txt?
>
> >>>> which function must be use.
> >>> Bring up notepad (or other text editor).  Paste into it.  Save into
> >>> <directory\>file.txt
>
> >> ???
>
> >>  I don't think the question  is difficult to understand.
>
> >Neither was the answer.  Try it.
>
> The question was "which function must be use" NOT what program can be
> used.

I don't think you can do this directly in DJGPP (or at least, I don't
know how). However, if you use Richard Dawe's libwin plus first load
the NTOLDAPP TSR/DLL combo, you can do so (see the cliptest.c example
in libwin's .ZIP). I tested this on XP, and it worked fine. Not ideal,
I guess, but it does work. I think some people here are trying to
suggest (indirectly) that you should use Win32 stuff for Win32
features (e.g. Cygwin or MinGW) since DJGPP is only a DOS compiler.
DOS support in modern NT-based Windows (2k, XP, Vista) is not what it
used to be, so you have to work around the limitations.

http://homepages.nildram.co.uk/~phekda/richdawe/mysoft.html
http://www.phatcode.net/downloads.php?id=188

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019