sqlite3_bind_blob(stmt,1, &mydata, sizeof(hh_RadarTarget_t), NULL); /* ^----- I think you need to add this "&" */