locked
0x8007007e error happens when I try to get the call log. RRS feed

  • Question

  • Hi there, Iface with a problem

    I tried to get the call log, so I inserted below codes in callback function.

      case WM_KEYDOWN:
       {
        HANDLE hCallLog = NULL;
        CALLLOGENTRY entry;
        HRESULT hResult = PhoneOpenCallLog(&hCallLog);
        if(hResult == S_OK)
        {
         HRESULT hResult2 = PhoneGetCallLogEntry(hCallLog, &entry);
         while(hResult2 == S_OK)
         {
          printf("Call Number: %s ", entry.pszNumber);
          hResult2 = PhoneGetCallLogEntry(hCallLog, &entry);     
         }
        }
       }

    However, I got the error message which says that

    " error which notify installation is damaged (code 0x8007007e).
    If the problem continues, reinstall Visual Studio"

    This message is not English, so my translation is not totally same with actual error message.

    I checked that proplem happens in a below line.

    HRESULT hResult = PhoneOpenCallLog(&hCallLog);

    I have tried to solve this problem for a long time, but it did not work.

    Why this problem happens, and how can I solve this?

    I would really appreciate if you help me to solve this problem.

    Regards.

    - nkh37

    • Edited by nkh37 Friday, June 19, 2009 6:38 PM
    Friday, June 19, 2009 6:24 PM

Answers