c – Poco NetSSL例外
作者:互联网
我终于建立了Poco NetSSL,但是第一个例子已经不起作用了.以下代码段抛出异常,并在我的IDE(Visual Studio 2012)中打开Debugger.h.
#include <Poco/Net/HTTPSClientSession.h>
int main()
{
Poco::Net::HTTPSClientSession clientSession;
}
这是输出:
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
NULL pointer: _pInstance [in file "c:\users\domenic\desktop\poco-1.4.6p1-all\util\include\poco\util\application.h", line 446]
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
以下代码完美运行……
#include <Poco/Net/HTTPClientSession.h>
int main()
{
Poco::Net::HTTPClientSession clientSession;
}
我想这与OpenSSL有关.希望有人可以帮助我,我真的想开始我的项目.
标签:c,openssl,poco-libraries 来源: https://codeday.me/bug/20190831/1777542.html