Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Re: _bstr_t issue in ado app

2 views
Skip to first unread message

alex

unread,
Jun 23, 2004, 2:36:57 AM6/23/04
to
"alex" <alex.sm...@verizon.net> wrote in message
news:40ba8084$1...@127.0.0.1...
> i'm trying to connect to a database with an oledb string passed in from
the
> command line in a c++ console app. the code works when i hardcode the
string
> but not when i read it in from the command line. it's a _bstr_t
> conversion/manipulation issue that i'm sure has been solved, i just can't
> find the solution.
>
>
>
>
>
>
> ----== 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
=---

i was escaping the backslashes on the command line -- that was the mistake


----== 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 =---

0 new messages