By-pass the RPC runtime if possible when calling an STA by posting a
authorRobert Shearman <rob@codeweavers.com>
Tue, 19 Jul 2005 19:12:47 +0000 (19:12 +0000)
committerAlexandre Julliard <julliard@winehq.org>
Tue, 19 Jul 2005 19:12:47 +0000 (19:12 +0000)
commit28479ea4aa2d4caa03ae7d667dd8859c0e370d63
tree9b17e8ce3c67958c87e3584dc94c117b8a495cfd
parente874408d6585f2b780198d0d8284634c9ca5328e
By-pass the RPC runtime if possible when calling an STA by posting a
message directly to the apartment window for it to process. Fixes a
deadlock in InstallShield caused by having to create a thread when
freeing an object that comes from an STA apartment. Added tests that
fail without this fix.
dlls/ole32/rpc.c
dlls/ole32/tests/marshal.c