Nik,
My guess would be that Address Book app found that you did not format the
data exactly as it expected.
I suggest you refer to the Address Book 3.5 sample source which you can also
compile and debug on POSE to find exactly what the code expects and what the
differences are...
Regards,
Randy Maxwell
-----Original Message-----
From: Nicholas Geh [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 03, 2000 8:13 AM
To: Palm Developer Forum
Subject: Sending vCards over IR / Exchange Manager
I've written this program that sends out a vCard over the Exchange
Manager's IRDA interface. I specified the socket as follows:
MemSet(&theSocket, sizeof(theSocket), 0);
theSocket.description = "john";
theSocket.name = "john.vcf";
and proceeded to call ExgSend, sending the contents of a string resource
that contains the following vCard:
begin:vcard
n:John;Smith
fn: John Smith
end:vcard
So when I beam the data, the AddressBook app picks it up and asks if I
want to accept the data. (I set the IR for loopback) When I click "Yes", it
says "The data was not accepted".
Any idea why this happens? Is the vCard format wrong, and is there
anything else that I need to send in addition to the raw vCard data?
Thanks in advance for help,
Nik
________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com
--
For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/tech/support/forums/
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/