Re: Making a C++ bluetooth class based on the C methods in IOBluetootUserLib.h
Re: Making a C++ bluetooth class based on the C methods in IOBluetootUserLib.h
- Subject: Re: Making a C++ bluetooth class based on the C methods in IOBluetootUserLib.h
- From: Brian OBrien <email@hidden>
- Date: Thu, 30 Aug 2007 15:20:30 -0600
2) I added IOBluetoothUI.framework and IOBluetooth.framework to the
project however I'm having linking errors:
internal link edit command failed:
Tool:0: __Z48IOBluetoothDeviceInquiryCreateWithCallbackRefConPv
I'm not sure, but this looks like a mangled name. What happens if you
put your all C #includes in in extern "C" wrappers like this:
#ifdef __cplusplus
extern "C" {
#endif
#include <Bluetooth/Yadayada1.h>
#include <Bluetooth/Yadayada2.h>
#include <Bluetooth/Yadayada3.h>
#ifdef __cplusplus
}
#endif
I tried that didn't help.
begin:vcard
fn:Brian O'Brien
n:O'Brien;Brian
org:Foothills Hospital / University Of Calgary;Seaman Family MR Research Center
adr:;;1403 29th St. NW;Calgary;AB;T2N 2T9;Canada
email;internet:email@hidden
title:PACS System Manager
tel;work:(403) 944-1637
tel;fax:(403) 270-7907
tel;home:(403) 770-0228
tel;cell:(403) 471-9459
x-mozilla-html:TRUE
url:www.imaginginformatics.ca
version:2.1
end:vcard
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Bluetooth-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden