VB中怎样调用C写的DLL?
DLL中声明如下:
funA(const char*,const char*,int,char*)
在VB中调用方式如下:
Private Declare sub funB Lib "X.dll" Alias "funA"(ByRef,ByRef,ByVal,ByRef)为什么Win2000下提示:The instruction at "0x0fbaa37c" referenced memory at "0xdb38ffe9".The memory could not be "read".
好像是内存不能读