Run-Time Check Failure #2 - Stack around the variable 'ps' was corrupted.

Proposed Run-Time Check Failure #2 - Stack around the variable 'ps' was corrupted.

  • lunes, 02 de abril de 2012 14:06
     
     

    I am building my componant code(VC++)  with "x64" configuration option .

    When i was running my project ,once it come out from my custom function "StatusBarProcessWmPaint" ,i am getting the error "Run-Time Check Failure #2 - Stack around the variable 'ps' was corrupted."

    above function consist the following statements.

    PAINTSTRUCT ps;HDC hDC(BeginPaint(hwnd, &ps));

    Can Please guide me how to resolve the above error ?

    Is there any issue while using "PAINTSTRUCT " in x64  configuration,Since i dont face any problem with "Win32" configuration option.

Todas las respuestas

  • lunes, 02 de abril de 2012 17:10
     
     Respuesta propuesta

    Hi Sreenath.

    This forum is for issues related so Microsoft Sync Framework. Is the component you are building using Sync Framework?

    If not, you might post your issue on another forum thread, which relates closed to your environment.

    Adrian