From: Maury M. <mau...@gm...> - 2012-06-19 20:04:40
|
I've had some success with my little iODBC project on the Mac, and I'm now successfully returning data from all sorts of sources from MySQL to Firebird. Now I'd like to improve my GUI before sending out a major revision. So... One of the things I'd like to do is is display a simplified login screen. As Tim noted earlier, I can leave all of this up to the driver, but many drivers on the Mac don't have a setup lib included - MySQL for instance, an apparent oversight on the build. So our app has it's own login screen. However, this means that the username and password are empty - we don't read them from the DSN. Parsing the DSN directly seems sub-optimal... is there a recommended way of returning these directly from the driver? Another issue that's come up is accented characters, which we can translate, but only if we know about it. So, is there a way to check easily? Do I do this on a column-by-column basis or is there a connection-level flag I can default to? |