oop
11th February 2016, 11:03
Hi all,
I written a QT DLL based on QWebSocketServer class and link it to a MFC application.
Initialization is ok and listen function too but it happens that websockets calls from web pages are locked.
It seems a that the connection are not managed, I think the QT DLL needs some messages processor or similar.
Have you some suggestion?
I tried with QApplication::processEvents() but nothing good happens.
Some suggestion ? :)
sorry for my English.
Added after 34 minutes:
I solved (temporary) calling QApplication::exec() within DLL but this solution is not good.
I written a QT DLL based on QWebSocketServer class and link it to a MFC application.
Initialization is ok and listen function too but it happens that websockets calls from web pages are locked.
It seems a that the connection are not managed, I think the QT DLL needs some messages processor or similar.
Have you some suggestion?
I tried with QApplication::processEvents() but nothing good happens.
Some suggestion ? :)
sorry for my English.
Added after 34 minutes:
I solved (temporary) calling QApplication::exec() within DLL but this solution is not good.