Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
No Version
-
None
-
Windows 7 X64 compiling with Visual Studio 2008 targeting x86.
Description
Using QtWinMigrate with a Qt DLL called from an MFC app becomes impossible with this code snippet of the DllMain function:
http://doc.qt.nokia.com/solutions/4/qtwinmigrate/winmigrate-qt-dll-example.html
The reason is because inside the new 4.6.3 "QMfcApp::pluginInstance" a new "QApplication" object it´s created in the heap, when initializing the new QApplication multitouch feature one of the functions (I think that it´s QApplication::initializeMultitouch) end calling the win API function CoCreateInstance, which freezes the application because:
http://support.microsoft.com/kb/305723
Reverting to Qt 4.5 solved the problem.
Regards.
Rafa.