Hi, I'm not doing C++ that much anymore but...

A.
if (m_passwordconf != ((CWRITERS_BLOCKDlg*)parent)->m_password) //they don't match

I believe you're comparing two strings. If so, I think you need to use a string compare function (like strcmp() in C).

B.
userssave.flush();

I think you also need userssave.close();

Peace always,
<jdenny>