• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Making a C++ bluetooth class based on the C methods in IOBluetootUserLib.h
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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>

#ifdef __cplusplus
}
#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

  • Follow-Ups:
    • Re: Making a C++ bluetooth class based on the C methods in IOBluetootUserLib.h
      • From: Brian OBrien <email@hidden>
References: 
 >Making a C++ bluetooth class based on the C methods in IOBluetootUserLib.h (From: Brian OBrien <email@hidden>)

  • Prev by Date: error, IOBluetoothDeviceInquiryCreateWithCallbackRefCon is not available
  • Next by Date: Availability Macros...
  • Previous by thread: Making a C++ bluetooth class based on the C methods in IOBluetootUserLib.h
  • Next by thread: Re: Making a C++ bluetooth class based on the C methods in IOBluetootUserLib.h
  • Index(es):
    • Date
    • Thread