How to set data source to Flex grid ocx?
I have pRst pointer variable (deifinition is ADOCG::_RecordsetPtr pRst, and I can open some table.
How to show that recrodset in Flex grid?

I try something like:

m_cFlex.SetDataSource(LPDISPATCH(pRst));


That is compiled without errors, but in debuging cant work. It give me "Debug Assertion failed". What to do whit it?