For Programmers: Free Programming Magazines  


Home > Archive > Smartphone Developer Forum > April 2006 > How access contacts database on WM5









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author How access contacts database on WM5
Patrikpl

2006-04-20, 7:07 pm

Hello,
Could you please advice me how to access the Contacts database which is in
the volume PIM.VOL, i.e. on smartphone with OS WM5.
Function CeMountDBVol(&vol1,L"\\PIM.VOL",OPEN_EXISTING ); it does not open
the volume, even when I make a copy of it as a file under different name and
it is then not used in any other way.
Definitely I need to work with mentioned database so that the changes made
in original OS application will be shown immediately in my application and
vice-versa.
Thank you
Patrik


Peter Foot [MVP]

2006-04-21, 4:07 am

You can use POOM to access this data, also look at the notification
functionality new in WM5 which will allow you to react to changes from
outside of your application when items are added/changed/deleted.

Peter

--
Peter Foot
Windows Embedded MVP
www.peterfoot.net | www.inthehand.com

"Patrikpl" <patrikpl@iol.cz> wrote in message
news:eeP6w3KZGHA.5012@TK2MSFTNGP04.phx.gbl...
> Hello,
> Could you please advice me how to access the Contacts database which is in
> the volume PIM.VOL, i.e. on smartphone with OS WM5.
> Function CeMountDBVol(&vol1,L"\\PIM.VOL",OPEN_EXISTING ); it does not open
> the volume, even when I make a copy of it as a file under different name
> and it is then not used in any other way.
> Definitely I need to work with mentioned database so that the changes made
> in original OS application will be shown immediately in my application and
> vice-versa.
> Thank you
> Patrik
>



Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com