qt中调用vs中的导出函数Put(string str)时,程序错误
调试结果,感觉是string参数问题。
各位大神这是什么原因导致的?
qt的string实现跟vc中的string实现不同,所以你传参数strung会有可能出问题。
需要转换下,参考:
http://blog.csdn.net/moxiaomomo/article/details/6573993
http://www.360doc.com/content/13/1012/13/12424571_320798222.shtml
所有的string改为Qstring