Hi, 
I have the following function to register objects in IAS database.
static void RegisterIASObject()
{
        IrIasObject obj;
        IrIasAttribute  attr;

        UInt8 helloString[] = { IAS_ATTRIB_USER_STRING, IR_CHAR_ASCII, 11, 
                'H','e','l','l','o',' ','W','o','r','l','d' };
                
        attr.name = (UInt8 *)"Mensagem";
        attr.len = StrLen("Mensagem");
        attr.value = (UInt8 *)helloString;
        attr.valLen = sizeof(helloString);
        
        obj.name = (UInt8 *)"Server";
        obj.len = StrLen("Server");
        obj.nAttribs = 1;
        obj.attribs = &attr;
        

        IrIAS_Add(irref, &obj);
}

But, the query result is IAS_ATTRIB_UNDEFINED or UNKNOWN instead of 
IAS_ATTRIB_USER_STRING. Why???? Please, help me.

[]s
Pedro
-- 
For information on using the PalmSource Developer Forums, or to unsubscribe, 
please see http://www.palmos.com/dev/support/forums/

Reply via email to