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: Joseph Kelly <email@hidden>
- Date: Thu, 30 Aug 2007 10:01:22 -0700
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>
} #endif |
_______________________________________________
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