http://bugs.winehq.org/show_bug.cgi?id=30839
--- Comment #10 from Jacek Caban jacek@codeweavers.com 2012-06-21 06:58:07 CDT --- (In reply to comment #7)
The application doesn't work with 32-bit oleaut32.dll copied from Vista, while it does work with 32-bit oleaut32.dll copied from XP.
Although it looks like the application is broken by newer oleaut32 bstr cache implementations,
If the application depends on bstr cache in any way it's obviously broken.
Jacek, could you please have a look at the test and perhaps suggest what could be improved/changed in BSTR cache to make it pass?
I've attached a patch that may help. Although it's technically good, I don't it in Wine yet.
Did you try running your test case on Windows with FLG_HEAP_ENABLE_FREE_CHECK set? What you observe could be just another heap management (that is, the cache frees the memory, but it's not yet corrupted by heap management).