Hello,

I'm having the following runtime error "grpc::g_core_codegen_interface was 
nullptr." Using C++, protobufs 3.1, Windows64 VS2015  

Error occurs during the unary call wrapper, on the completequeue 
constructor.  I am linking against grpc++/grpc++_{unsecure/reflection} 
correctly. (Can anyone define when to use reflection/unsecure? Unsecure 
seems to be for openssl-less linkage but still unclear on proper linkage 
requirements).

Any clues where I may be going wrong? This is sadly using a more complex 
building system (UBT/UHT from Epics Unreal Engine) that may be complicating 
issues but some clues on debugging would be wonderful!

Example Code:
TCClient::LoginRequest loginRequest;
TCClient::AuthResponse loginResponse;
ClientContext context;
loginRequest.set_email(TCHAR_TO_UTF8( *AccountCredentials.Id) );
loginRequest.set_pass(TCHAR_TO_UTF8( *AccountCredentials.Token) );


Status result = CommClient->LoginWithEmailAddress(&context, loginRequest, 
&loginResponse);
if (result.ok()) {
UE_LOG_ONLINE(Display, TEXT("Logged in user: %s"), *AccountCredentials.Id );
return true;

} 

Error:
Exception thrown: read access violation.
grpc::g_core_codegen_interface was nullptr.

Status BlockingUnaryCall(ChannelInterface* channel, const RpcMethod& method,
                         ClientContext* context, const InputMessage& 
request,
                         OutputMessage* result) {
  -> CompletionQueue cq;


Thank you for any assistance.


-- 
You received this message because you are subscribed to the Google Groups 
"grpc.io" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/grpc-io.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/grpc-io/f65a4793-22b5-411e-afbb-3047db8ff589%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to