focusapp complains about invalid parameters after a couple of hours of relaunching my app under hopper test ok RRS feed

  • General discussion

  • Hi,


    this happen on the professional WM6 emulator, never tried a real device. I have anative app that is being tested and after some hours of working ok, focusapp spits:

    ERROR: could not launch <myapp>, last error: 87. But the call to OpenProcess has not been modified:


        wsprintf(tszTmp, TEXT(" ... Relaunching: %s\n"), g_pszAppName);
        if(! CreateProcess(g_pszAppName, NULL, NULL, NULL, FALSE, 0, NULL, 
            NULL, NULL, &piProcInfo))
          goto Error;
        // Adjust this value to suit your needs above
      // Error condition - should never get here.
      wsprintf(tszTmp, TEXT("ERROR: could not launch %s, last error: %d\n"), g_pszAppName, GetLastError());

    What could be wrong ? Emulator again maybe ?



    Thursday, October 14, 2010 6:37 PM

All replies

  • And after this happens the first time, I have to reset / restart the emulator as subsequent runs of focusapp.exe no longer take hours to reach the 87 error, but minutes.
    Friday, October 15, 2010 4:01 PM