A CxImage Problem (CXX0030: Error: expression can not be evaluated)
-
I am starting getting this "CXX0030: Error: expression can not be evaluated" from the debugger after configuring my application to use the CxImage class. The error message is at the Value column on all recordset fields at the Variables window. Now I am not able to see the values in the recordset to debug the application. Please help. Elizabeth
-
I am starting getting this "CXX0030: Error: expression can not be evaluated" from the debugger after configuring my application to use the CxImage class. The error message is at the Value column on all recordset fields at the Variables window. Now I am not able to see the values in the recordset to debug the application. Please help. Elizabeth
-
If you Paste the Actual Code as well you will get more replies that way :) Live as if your were to die tomorrow. Learn as if you were to live forever. -Mahatma Gandhi
Here is the function. Before I made the changes at Project Settings to use the CxImage class, I was able to see the values from each field at m_pListSet. Now all I am seeing is "CXX0030: Error: expression can not be evaluated". void CDeliveryForm::LoadDeliverableList() { m_comboDeliverable.ResetContent(); if (!m_pListSet->IsBOF()) { m_pListSet->MoveFirst(); while (!m_pListSet->IsEOF()) { if (m_pListSet->m_ROUTE_TO_WAM_DATE != 0 && m_pSet->m_ACCEPTED == "1") m_comboDeliverable.AddString(m_pListSet->m_TITLE + " (deliverred)"); else m_comboDeliverable.AddString(m_pListSet->m_TITLE); m_pListSet->MoveNext(); } } m_comboDeliverable.AddString("NEW"); if (!m_pListSet->IsBOF()) { int target_record = 0; //get to the deliverable if (m_pDoc->m_deliverable_id != "") { m_pListSet->MoveFirst(); while (!m_pListSet->IsEOF()) { if (m_pListSet->m_DELIVERABLE_ID == m_pDoc->m_deliverable_id) break; target_record ++; m_pListSet->MoveNext(); } } //reset to 0 if no record found if (m_pListSet->IsEOF()) target_record = 0; //set selected item in list m_comboDeliverable.SetCurSel(target_record); m_pListSet->Move((target_record+1), SQL_FETCH_ABSOLUTE); } } Elizabeth