[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [Libevent-users] WinApi window does not respond when created from evhttp request callback



Thanks for response!
I know that, and I'm handling all messages inside "thread". It gets few messages, but when code exits callback method window stops to respond.


2013/9/8 Oleg <mybrokenbeat@xxxxxxxxx>
This is a WinApi issue, but not libevent.

If you create window not from main thread, then all messages will be sent to that thread and you should handle them there.
06.09.2013, в 7:33, Артём Титов написал(а):

> Hi!
>
> I'm currently using method evhttp_request_new(handler,listener) to get callback when my HTTP post request will get response. All this happens on Windows 7
> When callback fires listener (this calling happens inside handler) to create child window with embed browser but somehow after creating window does not respond.
>
> So it seems threadlike issue because this happens only when I'm trying to create window from listener.
>
> Any suggestions?
>
> --
> Best regards,
>
> Artem Titov

***********************************************************************
To unsubscribe, send an e-mail to majordomo@xxxxxxxxxxxxx with
unsubscribe libevent-users    in the body.



--
Best regards,

Artem Titov