You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 1, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Jun 1, 2026. It is now read-only.
are the http request/response of casablanca multithreaded in a COM STA object ?i.e do the task of casablanca run parallel in a COM STA object ? #10
Hi,
I make http request/response (and upload of file too ) with casablanca in a COM STA object. (an outlook addin)
it seems to block the software ( I cannot do something else and must wait,it freezes).
the following code is in a send(...) function in my STA COM object:
does casablanca run well and parallel in a COM STA object ? shall I do something more to run my tasks parallel ?
or should I use atlserver library(or winhttp) and win32 instead of casablanca for http requests and multithreading(win32) in my COM object ?
(I will still use casablanca to parse the json in the responses.)
Ok I have solved my multitasking problem with casablanca.I have removed the external wait and made some modifications and have used windows messages and postmessage to a window (of the main thread ) of my COM object to signalize the end of my secondary thread...
Hi,
I make http request/response (and upload of file too ) with casablanca in a COM STA object. (an outlook addin)
it seems to block the software ( I cannot do something else and must wait,it freezes).
the following code is in a send(...) function in my STA COM object:
client.request(requete).then([this](task<http_response> responseTask)
{
http_response response;
does casablanca run well and parallel in a COM STA object ? shall I do something more to run my tasks parallel ?
or should I use atlserver library(or winhttp) and win32 instead of casablanca for http requests and multithreading(win32) in my COM object ?
(I will still use casablanca to parse the json in the responses.)