# Win32-clipboard 0.4.0

**URL:** <https://www.ruby-forum.com/t/win32-clipboard-0-4-0/73148>\
**Category:** Ruby\
**Created:** [February 25, 2006, 5:06am UTC](https://www.ruby-forum.com/t/win32-clipboard-0-4-0/73148 "2006-02-25T05:06:33Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![danielb](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/c57346/32.png) [@danielb](https://www.ruby-forum.com/u/danielb)\
**Post date:** [February 25, 2006, 5:06am UTC](https://www.ruby-forum.com/t/win32-clipboard-0-4-0/73148/1 "2006-02-25T05:06:33Z")

</div>

Hi all,

The Win32Utils team is happy to announce the release of win32-clipboard  
0.4.0.

# What’s new?

This release replaces the C code with a pure Ruby version that uses the  
Win32API package. It also adds a gemspec, and a gem on RubyForge.

That means that you can now do: gem install win32-clipboard.

# Why?

This was a small package that was easy to convert.  
There’s a bug in gems wrt nested module/classes and C extensions.  
Compiler issues, especially with the latest one click installer, were  
proving to be too annoying.

# What about the other Win32Utils packages?

Some will be converted. Some will not, at least not for a while. Keep  
an eye out.

Regards,

The Win32Utils Team

---

<div class="post-metadata">

**Author:** ![danielb](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/c57346/32.png) [@danielb](https://www.ruby-forum.com/u/danielb)\
**Post date:** [February 25, 2006, 12:09pm UTC](https://www.ruby-forum.com/t/win32-clipboard-0-4-0/73148/2 "2006-02-25T12:09:20Z")

</div>

Hi,

- Daniel B. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) [060225 04:59]:

> The Win32Utils team is happy to announce the release of win32-clipboard  
> 0.4.0.

Works great with cygwin! 🙂

Just noticed a little bug in the documentation:  
In the README file, chapter synopis

puts “Setting data to ‘foobar’”  
Clipboard.data = “foobar”

does not work. Instead it should say

puts “Setting data to ‘foobar’”  
Clipboard.set\_data(“foobar”)

which does work. Thanks a lot for this gem.

Cheers,

- Steph.

---

<div class="post-metadata">

**Author:** ![danielb](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/c57346/32.png) [@danielb](https://www.ruby-forum.com/u/danielb)\
**Post date:** [February 25, 2006, 4:59pm UTC](https://www.ruby-forum.com/t/win32-clipboard-0-4-0/73148/3 "2006-02-25T16:59:43Z")

</div>

Stephan M. wrote:

> In the README file, chapter synopis
> 
> puts “Setting data to ‘foobar’”  
> Clipboard.data = “foobar”
> 
> does not work. Instead it should say
> 
> puts “Setting data to ‘foobar’”  
> Clipboard.set\_data(“foobar”)
> 
> which does work. Thanks a lot for this gem.

Oops, thanks. Fixed in CVS.

Dan
