关于BSTR字符连接的问题:
CFree 2001-11-30 10:49:33 如:
BSTR table,field,con,sql;
sql="select"+field+"from"+table+"where"+con;
以上的语句是错误的(error C2110: cannot add two pointers)
我用了个_bstr_t temp;
temp="select";
sql=temp+sql;
temp="from";
sql=sql+temp+field;
...
这样实现太麻烦了
有无简单的实现方法?
谢谢!