[python-win32] GetClipboardData crashes Python

Shamsul Azhar shamsul at handisplay.com.my
Fri Nov 28 07:08:52 EST 2003


Hi,

 

I'm trying to manipulate a bitmap data from within Python, however Python
crashed when using "GetClipboardData". Is there any way of getting bitmap
data from the clipboard?

 

The following is what I did :-

 

>>> from win32clipboard import *

>>> OpenClipboard()

>>> IsClipboardFormatAvailable(CF_DIB)

1

>>> GetClipboardData(CF_DIB)

 

 

Thanks in advanced.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/python-win32/attachments/20031128/794f864c/attachment.html


More information about the Python-win32 mailing list