Problem with drag&drop in qlistview
Hi everybody,
I'm developping an application using QT3 and visual C++6.
One of my interfaces contains 2 qlistview objects where I can drag one element from the first and drop it in the second.
It worked fine until I added this line in my main function:
Code:
HRESULT hr = CoInitializeEx(NULL,COINIT_MULTITHREADED );
What am I doing wrong?
Thanks for helping me.
Re: Problem with drag&drop in qlistview
No body has seen this problem before?
Re: Problem with drag&drop in qlistview
Apparently the problem is with WinAPI not with Qt. Maybe if you describe what exactly happens someone will be able to help you. Maybe this line spawns some thread which ruins the QApplication object?