Re: SQLDriverConnectPrompt
Igor Korot <[email protected]>
| Newsgroups | gmane.comp.db.unixodbc.devel |
|---|---|
| Message-ID | <30605637.1231818450385.JavaMail.root@elwamui-norfolk.atl.sa.earthlink.net> |
Nick, -----Original Message----- >From: Nick Gorham <[email protected]> >Sent: Jan 12, 2009 3:35 PM >To: Igor Korot <[email protected]>, Development issues and topics for unixODBC <[email protected]> >Subject: Re: [unixODBC-dev] SQLDriverConnectPrompt > >Igor Korot wrote: > >>Thank you, Nick. However, I don't know about TRUE/FALSE. >>I did a quick test with this on Windows and when I hit Escape/click Cancel >>from the DSN dialog, it returned SQL_NO_DATA. >>So, I'm just thinking that all it needs to do is either return >>SQL_SUCCESS when DSN is selected or different errors according to >>SQLDriverConnect in MSDN. >> >> >> >Its a internal function we are adding here, the app (in your case >odbctest I guess) calls SQLDriverConnect and internally it may or not >call the above function to display a dialog. > >You will get no dialog untill Peter has the chance to add his part to >odbcinstQ4 Thank you for explanation and sorry for confusion. Hopefully this change will go into the next release of unixODBC and I will be able to test it in my app. > >-- >Nick Thank you. _______________________________________________ unixODBC-dev mailing list [email protected] http://mailman.unixodbc.org/mailman/listinfo/unixodbc-dev