Using the ATL OLE DB Consumer Templates
Using OLE DB on the Pocket PC can be complex. There is a framework available that encapsulates this complexity. It is the ATL OLE DB Consumer Templates.
This articles explains how the Templates can be adapted and used on Pocket PC platforms