Menu

#64 Assertion in WINCORE.CPP (MFC)

open
5
2002-12-02
2002-10-28
Gary
No

Calling the CDocument::UpdateAllViews in a TestFixture
the MFC code ASSERTs in WINCORE.CPP, lines 882-
883.

I'm as sure as I can be that the window being called
from the CDocument is valid so I'm not sure what is
going on. Note that if UpdateAllViews gets called from
outside the TestFixture, in the normal course of running
the program, everything is fine.

Discussion

  • Baptiste Lepilleur

    Logged In: YES
    user_id=196852

    The thread used to run the test in the TestRunner is a worker
    thread, not a GUI thread.

    Could this be the cause of the assertion ?

    Baptiste.

     
  • Baptiste Lepilleur

    • assigned_to: nobody --> blep
     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.