writing DLL library in VC++ problem
Posted on 2003-02-24
I've done an external function as following,
I generated the "test.dll" file for the above coding in VC++,
and I wanna get it connected with the VB by the following coding,
Declare Function abc lib "test.dll" () As String
When I call the function, it returns an error message of "memory cannot be
but, when I declare the function as integer in both C++ and VB, it works.
So the point is, what data type should I declare in VB in order to get
connected with the C++ "char*" data type.
Thanks a lot!