What is wrong with this code...
HRESULT hr = m_pSet->MoveLast();
while (hr == S_OK)
hr = m_pSet->MovePrev();
It is *supposed* to step backwards through the rowset once only, but what I find is that it just keeps going round and round infinitely and never exits the loop?!?
I am completely stumped... what am I missing here? (something obvious no doubt)
I tested the above code by creating a MFC app using the wizard to hook up an OLE DB connection to a Jet database. I am using VS.NET on Windows XP btw.