Actually, AddrDBGetRecord() is a predefined function in AddressDb.h. And recH will hold the handler of that particular record which i query.

On 7/25/06, Aaron Ardiri <[EMAIL PROTECTED]> wrote:
> AppMain.c:339: undefined reference to `AddrDBGetRecord'

first thing; it doesn't know what the function AddrDBGetRecord is - you
need to ensure that your header includes this function prototype.

> char string name[30];
> AddrDBRecordType addrRec;
> MemHandle recH = 0;
>
> AddrDBGetRecord(db, 1, &addrRec,recH);//error in this line.
> StrCopy(string, addrRec.fields[name]);

whats the value of recH? surely it isn't NULL as you originally set it?

--
// Aaron Ardiri

--
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/

Reply via email to