本demo使用GRPC实现在windows系统上,32位进程和64位进程的交互。
#生成PB文件
.\protoc.exe -I .\ --cpp_out=. client.proto
#生成rpc接口
.\protoc.exe -I .\ --grpc_out=. --plugin=protoc-gen-grpc=grpc_cpp_plugin.exe client.proto
Protocol Buffer的使用和原理:https://www.ibm.com/developerworks/cn/linux/l-cn-gpb/index.html