From .NETCF code you can Platform Invoke (P/Invoke) the various
Phone/SMS/SIM API functions. However you'll find this has already been done
in the OpenNETCF.Phone.dll (part of the SDF -
www.opennetcf.org/sdf/) or if
you just want the basic phone support as found in the new Windows Mobile
v5.0 APIs you could use the InTheHand.WindowsMobile.Telephony.dll assembly
in this free package (
http://www.inthehand.com/windowsmobile.aspx)
Peter
--
Peter Foot
Windows Embedded MVP
http://www.inthehand.com |
http://www.peterfoot.net |
http://www.opennetcf.org
"Sirfalas" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hi.
>
> I am using the .net compact framework(using vb.net) to develop for
> phones running on windows mobile 2003. Particularly my Xphone for now
> but as i get more familiar, i'll develop it for all the devices.
>
> But what i need to know is, how do i access the phone API's? I find
> there are some files with names like phone.lib but when i search for
> examples, they keep telling me to do a dllimport(core.dll) or
> dllimport(phone.dll). But these dll files don't exist anywhere in the
> first place. i did a search for them on my harddrive but i can't find
> it so how am i supposed to import these APIs.
>
> Someone help. Thank you.
>