Re: Matt's ODBC
- Posted by Matthew Lewis <matthewwalkerlewis at YAHOO.COM> Dec 21, 2002
- 487 views
Yes, it's probably a bug in my wrapper. It was mainly a proof of concept that could be expanded as people needed it. I didn't get a lot of feedback from it, and I haven't really used it, so it's stayed pretty much a static piece of work. You might also check out Tone's ODBC wrapper, as it seemed a bit more mature when I looked at it. Also, I'd recommend becomming familiar with msdn.microsoft.com, as that's where all the ODBC documentation can be found. I'll take a look in detail at my code next week (don't have access to the right machine ATM). Matt Lewis --- George Walters <gwalters at sc.rr.com> wrote: > > More on this, If I remove the user and password from MS ODBC setup and supply > it in Matt's demo program, it works. So the user and password can be in one > or the other place but not both. Matt would this be a bug in your wrapper? I > certainly don't know enough to understand this. > > george > > ----- Original Message ----- > From: Matthew Lewis > To: EUforum > Sent: Thursday, December 19, 2002 3:47 PM > Subject: RE: Matt's ODBC > > > George, > > This appears to be the error code, SQL_INVALID_HANDLE. Did you call > initODBC()? This must be done in order to set some things up. > > Matt Lewis > > -----Original Message----- > From: George Walters [mailto:gwalters at sc.rr.com] > > > Running Matt's odbc.exw example, I get a handle from "openConnectionODBC()" > of minus 2 (-2). Is this a legitimate handle? If I continue it says I've > conneced, but any sql statement produces an error and the demo blows up.. > > ==^^=============================================================== > This email was sent to: matthewwalkerlewis at YAHOO.COM > > > __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com