Re: unixODBC-CPP
Peter Harvey <[email protected]>
| Newsgroups | gmane.comp.db.unixodbc.devel |
|---|---|
| Message-ID | <[email protected]> |
> Just hack the code in DriverManager/SQLDriverConnect.c to null the > handle before calling the driver, what we have done here doesn't need > any more (or less) code in the driver to deal with prompts, that bit > is entirly up to the driver. > > I don't think we can ever assume that apps are going to pass a valid > handle into the call though. (with reference to your other email to > the sqllite chap). > Well the driver is going to have to do something platform specific to fully handle SQLDriverConnect. I suppose one approach would be to always pass a NULL window handle to the driver but that would either result in an IM008 at times or the driver would have to do something platform specific to prompt. My thinking is pass the ODBCINSTWND to the driver and let the platform specific approach have a bit more information to work with. -- Peter _______________________________________________ unixODBC-dev mailing list [email protected] http://mailman.unixodbc.org/mailman/listinfo/unixodbc-dev