Windows CE 6.0 - Visual Studio 2005 - Visual C++ - Error 87 (hex 0x00000057) on start of application RRS feed

  • Question


    Hello, I have a windows ce application which crashes immediately after starting up. I think I am getting this error "Unhandled exception at 0x0001d57a in RS912.exe: 0x00000057: ." When my WinMain function is called. It is hard to tell where exactly it happens because the VS debugger will not break at any breakpoint I set in disassembler view, and the breakpoints I have on WinMain are never triggered. Does anyone know what I might do to solve this problem?



    Monday, August 12, 2013 3:11 PM

All replies

  • Setting a breakpoint in the dissasmbly view? So you don't have source code?

    If you do, get your debug connection up and running first or add logging to your app to see where it fails...

    there is no way for us to tell what's going wrong without more info

    0x57 hex means 87 decimal which is ERROR_INVALID_PARAMETER...

    -- Good luck, Erwin Zwart--- Check out my blog: GuruCE Microsoft Embedded Partner Consultancy, training and development services.

    Monday, August 12, 2013 8:05 PM
  • My debug connection is up and running. I set breakpoints on WinMain and the first few lines in WinMain but none of them are ever reached. There are instructions before WinMain in dissembly I think, however I cannot set breakpoints on them.

    Is there a way to accept any parameter sent by win ce, or to force it to send the proper ones? I am running version 6.0

    Monday, August 12, 2013 8:10 PM