我想做个bluetooth 程序,但安装了Windows7 SDK ,运行里面的例子,但发现SDK中变量函数未定义:
请问如何解决此问题.
我已经运行了Windows SDK configuration tool ,并且查看了tools -> optional -> projects and solution -> VC Directories 中包含有SDK 的路径!bluetooth.cpp(29) : error C2065: 'BTH_MAX_NAME_SIZE' : undeclared identifier
bluetooth.cpp(35) : error C2061: syntax error : identifier 'PSOCKADDR_BTH'
\bluetooth.cpp(36) : error C2065: 'SOCKADDR_BTH' : undeclared identifier
\bluetooth.cpp(36) : error C2146: syntax error : missing ')' before identifier 'ululRemoteBthAddr'
\bluetooth.cpp(36) : error C2059: syntax error : ')'