I'm new to COM programming and I need to implement an OLE DB interface onto a custom data server. The actual interface is fairly simple, we would only need to support 2 types of query's, I think we can use ICommand to pass an SQL string.
My problem is how to set up the component that implements the DataSource, Session, Command and Rowset interfaces. In particular I'd like to define a component called, MyDataSource that implements the IDBInitialize, IDBCreateSession and IDBProperties interfaces. What will my IDL file look like? Can I get there using the ATL wizard in Visual C++ 5.0? Or should I read a good book on COM and OLE and implement a solution based on code samples?