Click here to Skip to main content
12,546,448 members (55,535 online)
Rate this:
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 4: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 26-Feb-14 11:44am
Syed Asif Iqbal 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
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web02 | 2.8.161018.1 | Last Updated 26 Feb 2014
Copyright © CodeProject, 1999-2016
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