vc++如何传值给vb编写的dll中string类型参数???
假设vb编写的dll中有方法public function exportNodeAttribute(filePath as string)
用vc++调用这个dll,但是运行到ptrxptXML->exportNodeAttribute("c:\\3.xml");的时候就报错:
error C2664: 'exportNodeAttribute' : cannot convert parameter 1 from 'char [9]' to 'unsigned short ** '
请问这是怎么回事?