[Qt-interest] slightly OT - launching Qt app with CreateProcess (win32), clipboard operations hang
Paul Miller
paul at fxtech.com
Fri Feb 13 16:03:05 CET 2009
Paul Miller wrote:
> Now, while the small Qt app is up, if I use the clipboard (for example,
> right click on a text field and select Copy), when I go to PASTE that
> into another window, both the small Qt app and the target app *HANG*. I
> have to use Task Manager to kill one or the other to get the system back
> in shape.
I should elaborate - it's the small GUI app that hangs, and in fact it
hangs immediately after I COPY from within it - NOT when I paste into
another window.
Just for fun I added a signal handler on QClipboard to respond to
dataChanged(), and then I call OleFlushClipboard(), hoping that having
the clipboard "render" the data manually would help. My app still hangs,
but now I can safely copy into another window.
So I just need to figure out what is causing my app to hang after
copying data. Obviously it has something to do with how I'm launching it
from that other non-Qt app, because standalone Qt apps don't have this
problem.
--
Paul Miller | paul at fxtech.com | www.fxtech.com | Got Tivo?
More information about the Qt-interest-old
mailing list