i have the following line in my console app:
_bstr_t strCnn("my database connection string");
with the database connection string hard coded as above, it works, i connect
to my db.
when i read the db connection string into a string variable from the console
and try to use it or something i converted it into as the argument to strCnn
I can't connect. Any help would be appreciated.
ps
I know _bstr_t is not part of standard C++, it's a C++ class from microsoft.
there's info on _bstr_t all over the web but i still can't get my code to
work so i'm posting here.
Posted Via Usenet.com Premium Usenet Newsgroup Services
----------------------------------------------------------
** SPEED ** RETENTION ** COMPLETION ** ANONYMITY **
----------------------------------------------------------
http://www.usenet.com
----== Posted via Newsfeed.Com - Unlimited-Uncensored-Secure Usenet News==----
http://www.newsfeed.com The #1 Newsgroup Service in the World! >100,000 Newsgroups
---= 19 East/West-Coast Specialized Servers - Total Privacy via Encryption =---