Re: Matt - MSADO15.ew
- Posted by Jonas Temple <jtemple at yhti.net> Oct 27, 2004
- 940 views
Matt Lewis wrote: > It seems to work if you set up a DSN and then use that as your connect > string. Here's my example: Actually, I used an ADO provider, not an ODBC connection! Your code worked for me! I changed the connection string to: conn_str = alloc_bstr("Provider=IBMDA400;Data Source=66.140.221.246;") and it connected. After playing around with this for a while what I figured out was that my problem was I didn't have routines for the COM events. It seems to me that even if the routines don't do anything, they are still required. Is this true? Thanks again for your help! Jonas Temple http://www.yhti.net/~jktemple