Add something straight after the getline call to remove a trailing \r? Like this:
if (\*data\_string.rbegin() == '\\r')
data\_string.erase(data\_string.length()-1);
Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p
I'm not clear on your question. Are you trying to create an ODBC driver for your app ? If so, a good place to start is here: http://www.iodbc.org/[^]
...cmk Save the whales - collect the whole set