Re: Phone logs



Hello Peter,

I used code from MSDN. In my app I just imported the 3 class files to run Phone.vb. Please see

http://msdn.microsoft.com/msdnmag/issues/04/10/NET/ go to the bottom of this
page and you will see the code link (NETColumn0410.exe).

Note, in my 2003 emulator I recd "12/31/00 5:00:00PM" for all records and "12/31/00 4:00:00PM" on my touch/wm6 - perhaps not significant but the only thing I can add.

Found different sources for the structure but all are the same! Experimenting with the structure after but made no head way. You will see it can tell how many records there are, just not translating the info. In the structure you will see the filetime is the first field and it is incorrect too!

I thought the cbsize was wrong as it is declared Integer - maybe its should be int16 so I tried it and also int32 - no difference?!

There must be a way!!!

-James





"Peter Foot" <feedback@xxxxxxxxxxxxxxxxxxxx> wrote in message news:FBF354D3-5DF2-4745-B73F-4B344108E9D5@xxxxxxxxxxxxxxxx
That code doesn't include call log. Can you post your definition of CALLLOGENTRY and the code you are using to call it.

Peter

--
Peter Foot
Microsoft Device Application Development MVP
www.peterfoot.net | www.inthehand.com
In The Hand Ltd - .NET Solutions for Mobility

"James" <james_devitt@xxxxxxxxxxxx> wrote in message news:0822DF63-C074-4287-823C-5CF97391F9EA@xxxxxxxxxxxxxxxx
"Christopher Fairbairn" <christopher@xxxxxxxxxxxxxx> wrote in message news:B1BBF024-84C8-4E8D-8414-F08953C65A6A@xxxxxxxxxxxxxxxx
Hi,

"James" <james_devitt@xxxxxxxxxxxx> wrote in message news:4F6149BD-6A4C-4D81-85B8-0C132A5F66C7@xxxxxxxxxxxxxxxx
I cannot find any info accept for MSDN showing P/Invoke. Downloaded a VS solution which has both C# and a VB project. Both compile and run but the Phone test shows incorrect info!

As far as I know that is the only way to do it (call PhoneOpenCallLog etc).

When you say the information is incorrect what do you mean? Is the entire structure showing wrong values, or is this something isolated to one or two fields, such as the phone number, or a timestamp being incorrect?

Does this happen in a phone enabled emulator or only on an actual device?

Hope this helps,
Christopher Fairbairn


Hello Christopher,
None of the structure is correct. Only the number of records was correct. Here is the link to the code downloaded from MSDN http://msdn.microsoft.com/msdnmag/issues/04/10/NET/ go to the bottom of this page and you will see the code link (NETColumn0410.exe).

There is a function there that passes back an array of typed records. Using For Each I use name and number which are wrong for each record. I remove a log entry from my phone and the loop is correct but all fields are wrong!

I have looked at the structure and it looks correct. I used an emulator using 2003 and also my device with is an HTC Touch with WM6. WM6 would make sense but not the 2003 as the code is from vs2003.

Any thoughts you have would be very very helpful.


-James

.



Relevant Pages

  • Re: Phone logs
    ... Both compile and run but the Phone test shows incorrect info! ... Does this happen in a phone enabled emulator or only on an actual device? ... Here is the link to the code downloaded from MSDN http://msdn.microsoft.com/msdnmag/issues/04/10/NET/ go to the bottom of this page and you will see the code link. ... I used an emulator using 2003 and also my device with is an HTC Touch with WM6. ...
    (microsoft.public.pocketpc.developer)
  • Re: Touch Screen Orientation
    ... incorrect. ... Dean Ramsier - eMVP ... > on the touch screen I have to press at bottom right corner to open it. ... > screen and move the stylus, I dont see the cursor moving along with that, ...
    (microsoft.public.windowsce.embedded)
  • Re: Phone logs
    ... Both compile and run but the Phone test shows incorrect info! ... Does this happen in a phone enabled emulator or only on an actual device? ... Here is the link to the code downloaded from MSDN http://msdn.microsoft.com/msdnmag/issues/04/10/NET/ go to the bottom of this page and you will see the code link. ... I used an emulator using 2003 and also my device with is an HTC Touch with WM6. ...
    (microsoft.public.pocketpc.developer)
  • loader log
    ... When loading a table with the high performance loader occassionally the log appears to be incorrect. ... The bottom of the log will say: ...
    (comp.databases.informix)
  • Loop ? again
    ... I posed my problem earlier and Dave Peterson gave me the solution. ... what I said I needed was incorrect. ... at the bottom of columns A,B & C and the blank rows at the bottom of columns ... I would also like to sort the entries by oldest date first. ...
    (microsoft.public.excel.misc)

Quantcast