vb里调用C++ dll,该如何解决

vb里调用C++ dllvoid 函数名(char * temps,char * temps1,int* temps2)在vb中要怎样定义和实现?[解决办法]

vb里调用C++ dll
void 函数名(char * temps,char * temps1,int* temps2)
在vb中要怎样定义和实现?

[解决办法]
declare sub 函数名 lib "xxx" (byval temps as string,byval temps1 as string,byval temps2 as long)

使用:
dim l as long
dim s as string,s1 as string
call 函数名(s,s1,varptr(l))