Borszczuk wrote:
David Laganiere wrote:

I'm only using the debugger to go through the code right now and I'm using a Tungsten E2 simulator. The way the code is right now, the call to ContactsGetContact works, that is, it doesn't always return NULL.

I recall my attempts to use Contacts lib on treo, and what I was able to
get using it was just the SIM card contacts. I was unable to convince
it to dig in "system" contacts. I gave this lib up - you may check this
list for my related posts to see if you faced related issue.



I read your messages before posting mine. I solved a problem with the compilation by adding 2 lines in the Contacts.h that you used in one of your posts. To test the Contacts API, I used a "simple application" project and it was working fine. I solved the problem of my post here by using MemHandleNew instead of MemPtrNew for my structure containing my global variables. It seems to work fine now so I'll rework my code to use only the Contacts API as I suspect I had problems because I also opened the ContactsDB using an DmOpenDatabaseByTypeCreator call to verify some other infos in the ContactsDB (categories, etc).

Thank you for your time!

--
David

--
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/

Reply via email to