Hello. I have some C++ objects that can process the incoming message. The problem is that the callbacks have to be static methods. (Don’t they?) So that the callbacks don’t have access to the
this pointer.
The C++ objects will live longer than the http requests. I’m thinking I can pass the this pointer in the closure objects that MHD_start_daemon takes. But the daemon mechanism passes a null in that spot when the callback method is first
called. (Doesn’t it?)
What is a recommended way of accomplishing this?
Regards, Rick