End Google Ads 201810 - BS.net 01 --> Hi Developers,

I am using SHA160 algo to generate hash key of a file. I need to store & get it from a table. I am taking hash key in CString variable and try to store it in a TEXT field.

First of all this value is not getting store.

When I execute any query based on that hash key like

CString sTemp;
sTemp.Format(_T( "Select * From MEDIA_MAT Where RemedyID = '%d' And HashKey = '%s' And ID %d"), m_strTable, m_lngParentID, strHashValue, *m_lngID );

if( !rsAccessMedia.IsEOF() )

At the last line application get break, It can continue but hash key is not getting stored.

Pls help me out.

Thanks.
Amrit Agrawal