Read-only archive of the All About Symbian forum (2001–2013) · About this archive

help!!

4 replies · 1,387 views · Started 10 August 2004

I download the sourde code about one application bluettoth for P800 of http: // www.symbian.com/developer/techlib/staff apps_cpp.html*btservices but when I compile it in my Pc with the metrowerks, it give me 3 errores and it shouldn�t happen:

Error : Symbian Resource - uidcrc [ <outputfile> ] Failed to write UIDs to C:\Documents and Settings\yo\Escritorio\BtServices\group\BtServices_Data\WINSCW_UREL\ObjectCode\AIF.RSC

Error : the file 'qbtselectdlg.hrh' cannot be opened
BtServicesListView.cpp line 13

Warning : illegal empty declaration
BtServicesEng.h line 19

Error : undefined identifier 'EBTDeviceSelected'
BtServicesListView.cpp line 162

Can you hel me?

thanks

Hi I am having the same error when I try and run this...
I found what I think is a solution at http://www.todosymbian.com/postt10205.html but it is written in spanish I think so I cant read it....

If anyone was able to work out why it is doing this I would love to know.

Thanks
Ashley

helpx wrote:I download the sourde code about one application bluettoth for P800 of http: // www.symbian.com/developer/techlib/staff apps_cpp.html*btservices but when I compile it in my Pc with the metrowerks, it give me 3 errores and it shouldn�t happen:

Error : Symbian Resource - uidcrc [ <outputfile> ] Failed to write UIDs to C:\Documents and Settings\yo\Escritorio\BtServices\group\BtServices_Data\WINSCW_UREL\ObjectCode\AIF.RSC

Error : the file 'qbtselectdlg.hrh' cannot be opened
BtServicesListView.cpp line 13

Warning : illegal empty declaration
BtServicesEng.h line 19

Error : undefined identifier 'EBTDeviceSelected'
BtServicesListView.cpp line 162

Can you hel me?

thanks

Warning : illegal empty declaration BtServicesEng.h line 19 Project: BtServices.mcp, Target: WINSCW UDEB, Source File: BtServicesListView.cpp Error : undefined identifier 'EBTDeviceSelected' BtServicesListView.cpp line 162 Project: BtServices.mcp, Target: WINSCW UDEB, Source File: BtServicesListView.cpp Error : Compile failed Project: BtServices.mcp, Target: WINSCW UDEB, Source File: BtServicesListView.cpp /////////////////////////////////

CQBTUISelectDialog* dialog = new (ELeave) CQBTUISelectDialog(deviceAddress, deviceName, deviceClass, CQBTUISelectDialog::EQBTDeviceFilterAll);
if(dialog->LaunchSingleSelectDialogLD() == EBTDeviceSelected) {
_LIT(KDeviceLabelFormatString,"Device: %S"😉;
HBufC* buf = HBufC::NewLC(KMaxDescriptorLength);
TPtr labelText = buf->Des();
labelText.Format(KDeviceLabelFormatString,&deviceName);
iDeviceLabel->SetTextL(labelText);
CleanupStack::PopAndDestroy();
iEngine.NewDeviceSelectedL(deviceAddress,deviceName,deviceClass);
}
}

would u please help me the problem with bluetooth
i am sending the errors for Btservices,... Please help me.....

Error : the file 'qbtselectdlg.hrh' cannot be opened
BtServicesListView.cpp line 13
Project: BtServices.mcp, Target: WINSCW UDEB, Source File: BtServicesListView.cpp

Warning : illegal empty declaration
BtServicesEng.h line 19
Project: BtServices.mcp, Target: WINSCW UDEB, Source File: BtServicesListView.cpp

Error : undefined identifier 'EBTDeviceSelected'
BtServicesListView.cpp line 163
Project: BtServices.mcp, Target: WINSCW UDEB, Source File: BtServicesListView.cpp

Error : Compile failed
Project: BtServices.mcp, Target: WINSCW UDEB, Source File: BtServicesListView.cpp

You can't have spaces in the path. "Documents and Settings" has spaces.

helpx wrote:I download the sourde code about one application bluettoth for P800 of http: // www.symbian.com/developer/techlib/staff apps_cpp.html*btservices but when I compile it in my Pc with the metrowerks, it give me 3 errores and it shouldn�t happen:

Error : Symbian Resource - uidcrc [ <outputfile> ] Failed to write UIDs to C:\Documents and Settings\yo\Escritorio\BtServices\group\BtServices_Data\WINSCW_UREL\ObjectCode\AIF.RSC

Error : the file 'qbtselectdlg.hrh' cannot be opened
BtServicesListView.cpp line 13

Warning : illegal empty declaration
BtServicesEng.h line 19

Error : undefined identifier 'EBTDeviceSelected'
BtServicesListView.cpp line 162

Can you hel me?

thanks