When I run the "Btadvertiser" example, It runs well on the SDK Emulaor(I am using the 7650 Emulator)....but when I am trying to debug and step into the code, the following errors on "btsdp.h" is generated....
"
Compiling...
Btadvertiserappui.cpp
\Program\Symbian\6.1\Series60\EPOC32\INCLUDE\btsdp.h(184) : error C2143: syntax error : missing ',' before 'public'
\Program\Symbian\6.1\Series60\EPOC32\INCLUDE\btsdp.h(184) : error C2059: syntax error : ':'
\Program\Symbian\6.1\Series60\EPOC32\INCLUDE\btsdp.h(214) : error C2143: syntax error : missing ';' before '}'
\Program\Symbian\6.1\Series60\EPOC32\INCLUDE\btsdp.h(222) : error C2518: keyword 'class' illegal in base class list; ignored
\Program\Symbian\6.1\Series60\EPOC32\INCLUDE\btsdp.h(225) : error C2143: syntax error : missing ';' before '*'
\Program\Symbian\6.1\Series60\EPOC32\INCLUDE\btsdp.h(225) : error C2501: 'NewNilL' : missing storage-class or type specifiers
\Program\Symbian\6.1\Series60\EPOC32\INCLUDE\btsdp.h(226) : error C2523: 'CSdpAttrValueList::~CSdpAttrValueNil' : destructor tag mismatch
\Program\Symbian\6.1\Series60\EPOC32\INCLUDE\btsdp.h(230) : error C2040: 'CSdpAttrValueNil' : 'int (void)' differs in levels of indirection from 'int'
Btadvertiserappview.cpp
\Program\Symbian\6.1\Series60\EPOC32\INCLUDE\btsdp.h(184) : error C2143: syntax error : missing ',' before 'public'
\Program\Symbian\6.1\Series60\EPOC32\INCLUDE\btsdp.h(184) : error C2059: syntax error : ':'
\Program\Symbian\6.1\Series60\EPOC32\INCLUDE\btsdp.h(214) : error C2143: syntax error : missing ';' before '}'
\Program\Symbian\6.1\Series60\EPOC32\INCLUDE\btsdp.h(222) : error C2518: keyword 'class' illegal in base class list; ignored
\Program\Symbian\6.1\Series60\EPOC32\INCLUDE\btsdp.h(225) : error C2143: syntax error : missing ';' before '*'
\Program\Symbian\6.1\Series60\EPOC32\INCLUDE\btsdp.h(225) : error C2501: 'NewNilL' : missing storage-class or type specifiers
\Program\Symbian\6.1\Series60\EPOC32\INCLUDE\btsdp.h(226) : error C2523: 'CSdpAttrValueList::~CSdpAttrValueNil' : destructor tag mismatch
\Program\Symbian\6.1\Series60\EPOC32\INCLUDE\btsdp.h(230) : error C2040: 'CSdpAttrValueNil' : 'int (void)' differs in levels of indirection from 'int'
Generating Code...
Error executing cl.exe.
You could run the example on the emulator, it means that you have once succesfully compiled it. When you try to debug it I am afraid that you have unintentionally modified the file or deleted some character. To be sure, look at the date of the btsdp.h file to see if it is not the date you fisrt debug or touch the code.