Seems the problem is improper testbed design rather than MFC app.