What's the use of CArrayRowset

Frederic Gos <[email protected]> Fri, 2 Aug 2002 14:36:58 +0200
Newsgroups gmane.comp.windows.devel.oledb.devel
Message-ID <ED58407D3AF3D211B7B00000F8D02EB9CEE1BC@MAILPROD01>
Hi,

I'm playing around with CArrayRowset and completely fail to
see the raison d'etre of this class.

I don't know the number of rows, so what index to choose????

The docs say that CArrayRowset will throw for out of bounds indexes, but the

source code has a big fat ATLSSERT also. Meaning I can't just use exceptions
to
figure out when to stop my loop.

I have the fealing I'm missing something here...

Please enlighten me!

cheers
Frederic



You can read messages from the OLEDB_DEV archive, unsubscribe from OLEDB_DEV,
or subscribe to other DevelopMentor lists at http://discuss.develop.com.