ole32: OLE clipboard functions should fail if OLE hasn't been initialised.

Alexandre Julliard julliard at winehq.org
Sat Jan 6 05:00:29 CST 2007


Robert Shearman <rob at codeweavers.com> writes:

> Add a field to the TLS data to determine whether OLE has been
> initialised for the current thread and use it in the OLE clipboard
> functions.

This breaks the richedit tests:

../../../tools/runtest -q -P wine -M riched20.dll -T ../../.. -p riched20_test.exe.so editor.c && touch editor.ok
err:ole:OleSetClipboard OLE not initialised
err:ole:OleSetClipboard OLE not initialised
err:ole:OleSetClipboard OLE not initialised
editor.c:860: Test failed: EM_SETUNDOLIMIT didn't allow the first undo with UNDOLIMIT set to 2
editor.c:863: Test failed: EM_SETUNDOLIMIT didn't allow a second undo with UNDOLIMIT set to 2
err:ole:OleSetClipboard OLE not initialised
editor.c:1256: Test failed: EM_GETMODIFY returned zero, instead of non-zero when pasting identical text
err:ole:OleSetClipboard OLE not initialised
editor.c:1266: Test failed: EM_GETMODIFY returned zero, instead of non-zero when pasting different text
err:ole:OleFlushClipboard OLE not initialised
make: *** [editor.ok] Error 4

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list