hi there,thanks for everyone,i have another question...
i have a function in a dll( i wrote the dll using c++),and i need to call this function from VB program..
the function in the dll is:
_declspec (dllexport) char *buff()
i used this in the vb module:
Declare Function buff Lib "d:\dddd.dll" Alias "?buff@@YAPADXZ" () As long
and this in the project:
Private Sub Command3_Click()
k = buff
Print "k=" &k
but i got the folowing strange result
what is wrong