I initialize the SSL with Poco::Net::initialiaeSSL function at the beginning of my app and then create a new HttpsClientSession object with HttpClientSession() function without any paramters. But the app crash when creating the HttpsClientSession object, the reason of crash is that the _pInstance of Poco::Util::Application is a null point.
So I create a Poco::Net::Context object first and then create a HttpsClientSession object with HttpClientSession(Context) function with the Context object for paramter. The app works well.
My question is:if I want to initialize the SSL directly with Poco::Net::initialiaeSSL function and create a new HttpClientSession object using HttpClientSession() function without Context object for paramter, what should I do?





