Nov 22

I spent all night last night trying to do this in C#. After a 380Mb download, careful adding of references to COM objects, and a self-guided crash course in C#, I found myself having spend the last 2 of the 3.5 hours’ development time trying to find out how to make a C# console application start in a single-thread apartment using Visual Studio Express.

This evo, I rustled it up in C and cygwin in about an hour, and it’s a 4k executable.

clip-0.1.tgz

Pipe data to clip -c and it will appear on the clipboard. type clip -p and it will paste from the clipboard to stdout. Handy huh?


one comment so far...

  • henry Said on November 22nd, 2006 at 23:28:

    yeah, i’ve thought that myself.
    for a long time.

    yeah.

leave a reply

You must be logged in to post a comment.

 

November 2006
S M T W T F S
« Oct   Dec »
 1234
567891011
12131415161718
19202122232425
2627282930  

Archives

Meta