Click here to Skip to main content
15,922,894 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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

1 solution

Its BSTR, in ur case _bstr_t. Check below url

Connection (ADO for Visual C++ Syntax)[^]
 
Share this answer
 
Comments
Maciej Los 26-Feb-14 11:44am    
+5
_Asif_ 26-Feb-14 12:21pm    
:)

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900