http://bugs.winehq.org/show_bug.cgi?id=23115
--- Comment #5 from Pavel rawlik@list.ru 2010-06-14 06:38:03 --- (In reply to comment #4)
Pavel, could you produce a minimal test case program that shows this problem? It's even better to add it as to Wine tests in ole32/tests.
(In reply to comment #4)
Pavel, could you produce a minimal test case program that shows this problem? It's even better to add it as to Wine tests in ole32/tests.
Test case require a IlockBytes File-based implementation as described on: http://msdn.microsoft.com/en-us/library/aa379238%28v=VS.85%29.aspx
* File-based implementation
If you call StgCreateDocfile function to create a compound file storage object, it contains an implementation of ILockBytes that is associated with a byte array stored in a physical disk file. The compound file storage object calls the ILockBytes methods — you do not call them directly in this implementation.
It's not so easy to do quickly :-).
Good.
I'l try to write MINIMAL test case soon.