[protobuf] Correct usage of StringValue in C++

2019-11-21 Thread Martin Scholz
What is the correct usage of StringValue in C++. google::protobuf::StringValue* test = new google::protobuf::StringValue(); test->set_value("some string"); someRequest.set_allocated_value(test); Do i have to delete the StringValue manually at the end? Why this isn't possible? std::unique_ptr

[protobuf] Re: Windows, VisualStudio, C++, and building libraries

2019-11-25 Thread Martin Scholz
I assume you included your Debug folder as an additional library folder and added all the libs as dependencies in your Linker options. Am Dienstag, 26. November 2019 00:38:27 UTC+1 schrieb Stéphane Charette: > > (Windows10, Visual Studio Community 2019, protobufs v3.10.1, gRPC v1.20.0.) > > I