Application Verifier

Cool app…help me find a random crash in Thread Pool caused by invalid handle when calling


<Microsoft Application Verifier is a runtime verification tool for unmanaged code. It assists developers in quickly finding subtle programming errors that can be extremely difficult to identify with normal application testing. Application Verifier makes it easier to create reliable applications by monitoring an application’s interaction with the Microsoft Windows operating system, profiling its use of kernel objects, the registry, the file system, and Microsoft Win32 APIs (heap, handles, locks, and more).>

two-way DDX_Text update

I hate MFC(Too personal. I should delete, shouldn’t I), but quite a lot MFC-applications still work nicely now.
I am fixing a bug now and get trapped for this minor problem. Spend 30 minutes to figure that out, OMG!!!!

DDX_Text(pDX, IDC_EDIT_NAME, m_strName);
UpdateData(TRUE) or UpdateData() // From control to string
UpdateData(FALSE) // From string to control

Can boolean be function parameters??
see OldNewThing