Click here to Skip to main content
Rate this: bad
Please Sign up or sign in to vote.
See more: C++ Windows
What type of string does ADO 's ado open command for connection object take.Is it ANSI of or _bstr_t or wchar_t?

Some examples use ANSI some use _bstr(L"Some String").
Which string is really the right string to use or is it that all the above mentioned str are acceptable?
Posted 26-Feb-14 5:47am

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

Its BSTR, in ur case _bstr_t. Check below url
Connection (ADO for Visual C++ Syntax)[^]
Maciej Los at 26-Feb-14 11:44am
Syed Asif Iqbal at 26-Feb-14 12:21pm

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 Peter Leow 308
1 Kornfeld Eliyahu Peter 220
2 Sergey Alexandrovich Kryukov 162
3 Maciej Los 160
4 OriginalGriff 153
0 OriginalGriff 383
1 Peter Leow 318
2 Kornfeld Eliyahu Peter 260
3 Maciej Los 230
4 Sergey Alexandrovich Kryukov 212

Advertise | Privacy | Mobile
Web02 | 2.8.150301.1 | Last Updated 26 Feb 2014
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100