This little project was exactly what I was looking for. Namely an example allowing me to figure out how to connect my VC++ application to a Microsoft Access database.
Now I still have to figure out how I can input Japanese characters in my table. But other than that it seems to work.
Well the (cast COlevariant to CString) code above works if the field returned is a string, but when the field is numeric or date, you're not able to cast it this way. So do we've to cast COlevariant -> Integer or Date -> CString? Anyone knows how? Please post the code here, thanks.