I've been asked to pick up an old project by someone who has retired or died. Part of the project is to read/write binary data from an Access database. I've got to the stage where I can recognise the binary data field....
CDBVariant DBVariant ;
RecSet.GetFieldValue("Valori_Fot",DBVariant) ;
gLogger.Printf(ekLogMsg, " has type %d", DBVariant.m_dwType) ;
if (DBVariant.m_dwType == DBVT_BINARY)
{
// Get hold of the binary data
}
but where is the length of the binary data set, or how is the end marked?