Well, I was assuming 'btLibRef' is defined somewhere in the bluetooth
library. The base of this assumption was the info on this site:
http://hazelware.luggle.com/archive.html?57.
Anyway, if it is not define, what should be the value of the btLibRefNum
parameter in the following function?
Err BtLibGetGeneralPreference (UInt16 btLibRefNum, BtLibGeneralPrefEnum
pref, void *prefValue, UInt16 prefValueSize)
Thanks a lot.
Jenni
----- Original Message -----
From: "Layne Lund" <[EMAIL PROTECTED]>
To: "Palm Developer Forum" <[email protected]>
Sent: Thursday, June 23, 2005 1:01 PM
Subject: Re: undefined identifier 'btLibRef' in BtLibGetGeneralPreference
I'm new to Palm development, but this sounds like a linker error. The
fact that you've #included a header file doesn't mean much to the
linker. What is btLibRef? Is this a variable you declared in your
own code or is it a variable from the PalmOS API? I'm not familiar
enogh with the API yet to know all the variables it declares.
Layne
On 6/23/05, Jennifer Fell <[EMAIL PROTECTED]> wrote:
Hi,
I am having this error: "undefined identifier 'btLibRef'". Here is the
original call:
err = BtLibGetGeneralPreference (btLibRef, btLibPref_LocalDeviceAddress,
&address, sizeof (address));
and I included the BtLib.h library.
Any idea why it's happening?
Thanks in advance.
Best Regards,
Jenni
--
For information on using the PalmSource Developer Forums, or to
unsubscribe, please see http://www.palmos.com/dev/support/forums/
--
For information on using the PalmSource Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/
--
For information on using the PalmSource Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/