hello 2 all,
i m working in symbian, n i use s60 fp2 8.0a
. i debug a appplication of bluetoothpmp in .net .
i found a error in listner.cpp file of function
void CListener::SetSecurityL(TInt aChannel)
{
->-> RBTSecuritySettings isecDatabase;
Errors:::
src\Listener.cpp(144) : error C2065: 'RBTSecuritySettings' : undeclared identifier
src\Listener.cpp(144) : error C2146: syntax error : missing ';' before identifier 'isecDatabase'
src\Listener.cpp(144) : error C2065: 'isecDatabase' : undeclared identifier
src\Listener.cpp(149) : error C2228: left of '.Open' must have class/struct/union type
type is ''unknown-type''
src\Listener.cpp(149) : error C2065: 'secManager' : undeclared identifier
src\Listener.cpp(149) : error C3861: 'isecDatabase': identifier not found, even with argument-dependent lookup
src\Listener.cpp(150) : error C3861: 'isecDatabase': identifier not found, even with argument-dependent lookup
src\Listener.cpp(153) : error C2065: 'isettingsUID' : undeclared identifier
src\Listener.cpp(153) : error C2228: left of '.iUid' must have class/struct/union type
type is ''unknown-type''
src\Listener.cpp(155) : error C2039: 'SetChannelID' : is not a member of 'TBTServiceSecurity'
D:\symbian\\epoc32\include\bt_sock.h(117) : see declaration of 'TBTServiceSecurity'
src\Listener.cpp(156) : error C2039: 'SetProtocolID' : is not a member of 'TBTServiceSecurity'
D:\symbian\\epoc32\include\bt_sock.h(117) : see declaration of 'TBTServiceSecurity'
src\Listener.cpp(161) : error C2228: left of '.RegisterService' must have class/struct/union type
type is ''unknown-type''
src\Listener.cpp(161) : error C2065: 'secSettings' : undeclared identifier
src\Listener.cpp(161) : error C3861: 'isecDatabase': identifier not found, even with argument-dependent lookup
Generating Code...
Build log was saved at "file://d:\symbian\epoc32\BluetoothPMP\Deb_S60_22_WINS\BuildLog.htm"
BluetoothPMPExample - 14 error(s), 0 warning(s)
=============
here error starts of this function.
which is already in the lib file n .h file of listed in program.
the header files are btmanclient.h, e32base.h, bt_sock.h
this all files are located in listener.h file . a
btmanclient.h file has a function call RBTSecuritySettings
but when i compile with help of tht it cn';t run.
so ny body have idea abt how program run n ny solution for that suggest me...
to solve this bt example......
thnx .
mayank