I have a class include some members with types like CString, UINT, BOOL. I new it in Thread A, while delete it in Thread B. Currently there's no
problem. Can any expert tell me it is really OK?
Re: Wie programmiert man den Systray? ... CSystemTray::CSystemTray(HINSTANCE hInst, HWND hWnd, UINT uCallbackMessage,...BOOL CSystemTray::RemoveIcon ... // variables in TimerFuncvia a reinterpret_cast in the static CALLBACK... (microsoft.public.de.vc)
Re: _com_error information ...bool CDataBase::AddRecord(const CString &recordSet) ... in the calling function.... an ADO recordset and Binding structure as members.... (microsoft.public.data.ado)
Re: Reentrancy issue ... Given the change in the documentation, there is no reason to expect that ... Also, in checking the MFC source for use of %s, I found that indeed when CString is ... improper comparison of a BOOL could currently cause problems. ... it does not cause an error in real life.... (microsoft.public.vc.mfc)
Re: Reentrancy issue ... Hmmm, that would seem to obligate you to respect all documentation, yet ... improper comparison of a BOOL could currently cause problems. ... it does not cause an error in real life.... thing with the CString issue throughout this thread. ... (microsoft.public.vc.mfc)