Unresolved external symbols NdrServerCall2, NdrServerCallAll referenced in function main

  • Thread starter Thread starter Nikos Lazaridis
  • Start date Start date
N

Nikos Lazaridis

Guest
I get various linker errors in my RPC program and I can't find out which libraries I'm missing.

Error LNK2001 unresolved external symbol NdrServerCall2
Error LNK2001 unresolved external symbol NdrServerCallAll
Error LNK2019 unresolved external symbol __imp_RpcServerListen referenced in function main
Error LNK2019 unresolved external symbol __imp_RpcServerRegisterIf2 referenced in function main
Error LNK2019 unresolved external symbol __imp_RpcServerUseProtseqEpA referenced in function main


eg. code sample inside main:

status = RpcServerListen(
1, // recommended minimum number of threads
RPC_C_LISTEN_MAX_CALLS_DEFAULT, // recommended maximum number of threads
FALSE); // start listening now

if (status)
exit(status);


Thanks for your help in advance.

Continue reading...
 
Back
Top