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

Robert Shearman rob at codeweavers.com
Sat Jan 6 06:30:00 CST 2007


Alexandre Julliard wrote:
> 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

Ok, thanks. I'll take a look at these errors.

-- 
Rob Shearman




More information about the wine-devel mailing list