1,545 questions
1 vote
1 answer
73 views
Memory leak in Poco::Net::POP3ClientSession when server is unreachable
I’ve written a class designed to poll an email server. Everything works fine when the server is reachable. However, the problem arises when the server is unreachable. In that case, Valgrind reports ...
0 votes
0 answers
420 views
conan create throws compiler.cppstd 14 vs 17 compatibility error
Task is to generate static libraries out of the SDKs we currently have for various OSs. I have generated the artifacts for my project, use it to run a conan install and cmake in the build_release ...
0 votes
1 answer
116 views
Linker error using MSbuild, vcpkg and Poco libraries
I have been trying to get vcpkg configured to provide my POCO libraries for a few days now and am about at the end of myself. The project builds fine, but fails on the linking. Here is the error: ...
2 votes
1 answer
82 views
Windows services and logging frameworks and AppVerifier
I have a Windows service that is written in C++. I recently became aware of the Microsoft Application Verifier Tool that can be used to catch not so obvious memory leaks and other such problems. I've ...
0 votes
1 answer
81 views
Is POCO++ capable of port sharing?
The main goal is to introduce a REST API to an existing service written in C++ and POCO seems to be the best match for that.There are other services that need to run on the same machine. I already ...
-8 votes
1 answer
100 views
Unable to retrieve 2 million rows from SQL Server using C++ poco library
I'm trying to retrieve 2 million rows of data from SQL Server using poco library The code I'm using: Poco::Data::ODBC::Connector::registerConnector(); Poco::Data::Session session("ODBC", &...
0 votes
0 answers
42 views
Logstash/ Poco::Logger - JSON parse error
I am trying to debug this issue showing up related to Json Parsing. My application is using POCO::Logger for logging which is rotating the log files hourly basis. During the rotation, the Logstash is ...
0 votes
4 answers
88 views
Javascript class, initialize with object & optional values [closed]
I have a few questions regarding the code below: export class Person { constructor(obj = { id: 0, name: '', lastName: '', eyeColor: '', age: 0 }) { this.id = obj.id; this.name =...
0 votes
0 answers
52 views
how to send data to the server every n seconds and if they were not delivered then save every m seconds?
I have a Manager class that starts one of several tasks (Poco::Util::TimerTask) that are executed periodically in a separate thread using Poco::Util::Timer. When a certain condition is met, this task ...
0 votes
1 answer
28 views
POCO and Kerberos authentication
I am using POCO to send http requests to a server with HTTPClientSession class. Requests must go through a proxy (ok with HTTPClientSession->setProxyConfig). When the proxy requires NTLM ...
2 votes
0 answers
68 views
How to get Poco using cmake and conan2
I'm newby in using cmake and conan2, so I need help with Poco library. I've installed conan2, wrote a simple conanfile.txt and installed all the libs I need. But now one of them (ncurses) works just ...
3 votes
2 answers
115 views
Is there a direct way to go from POCO to JsonNode?
I want to create a JsonNode corresponding to a C# object (a POCO). One way to do this would be to: string json = JsonSerializer.Serialize(poco); JsonNode? jsonNode = JsonNode.Parse(json); Is there a ...
1 vote
1 answer
67 views
Elegantly call leaf's static constructor from base abstract class in C#
I'm writing a POCO generator library using EF Core 3 for .NET Standard 2.0. This library will be used to generate the .cs files via T4 templates in .NET Framework and .NET Core projects. I've created ...
0 votes
0 answers
156 views
can't compile anymore with poco 1.13
I'm not a developer. Under gentoo, I used to compile https://github.com/codayblue/libmyemail with the different versions of poco from version 1.9.0-r2 to version 1.12.4. But since the last update to ...
1 vote
0 answers
60 views
Poco::Data::Session how create file database?
I use the POCO library and I need to create a database SQLite at the beginning of my program so that I can then write and read data into it. How can I do it? I wrote the following code: std::...