C++ 在WinRT上重新处理

C++ 在WinRT上重新处理,c++,windows-runtime,sip,C++,Windows Runtime,Sip,我被困在WinRT上构建reSIProcate。我在reTurnClient项目(TurtlsSocket.hxx中的getSocketDescriptor方法)中遇到语法错误 这是错误行代码: virtual unsigned int getSocketDescriptor() { return mSocket.lowest_layer().native(); } 这是错误日志: 5> e:\work\sigma\qilex windows\resiprocate-resiprocate-1

我被困在WinRT上构建reSIProcate。我在reTurnClient项目(TurtlsSocket.hxx中的getSocketDescriptor方法)中遇到语法错误 这是错误行代码:

virtual unsigned int getSocketDescriptor() { return mSocket.lowest_layer().native(); }
这是错误日志:

5> e:\work\sigma\qilex windows\resiprocate-resiprocate-1.10.1\return\client\TurnTlsSocket.hxx(23):错误C2440:“return”:无法从“windows::Networking::Sockets::StreamSocket^”转换为“unsigned int”(编译源文件TurnTlsSocket.cxx) 5> e:\work\sigma\qilex windows\resiprocate-resiprocate-1.10.1\return\client\TurnTlsSocket.hxx(23):注意:没有用户定义的转换运算符可用,或(编译源文件TurnTlsSocket.cxx) 5> e:\work\sigma\qilex windows\resiprocate-resiprocate-1.10.1\return\client\TurnTlsSocket.hxx(23):注意:没有可以进行此转换的上下文(编译源文件TurnTlsSocket.cxx)


我知道这是类型冲突错误,但还没有任何线索开始修复

你能发布给出错误的那行吗?@PeterTorr MSFT它在第23行,文件TurnTlsSocket.hxx:virtualunsigned int getSocketDescriptor(){return mSocket.lower_layer().native();}我不知道这个方法的逻辑和用法。所以我不知道如何修复。所以你有文件的链接?