http://bugs.winehq.org/show_bug.cgi?id=6472
------- Additional Comments From developers@tefnet.pl 2006-21-10 08:00 ------- Found the reason.
GlobalGetAtomNameA() behaves a bit different than in windows.
I changed: if (len >= count) { len = 0; SetLastError( ERROR_MORE_DATA ); } in wine code to: if (len >= count) { return c; }
and programs work ok :).
Further investigation is needed to determine the exact way it should work.