vb调用c写dll的问题,谢谢!(高分请进)
c中是这样定义的,返回void *
void* WINAPI getDetail(STRING info, int detail, int *len, int* errcode)
在vb中:
Declare Function getDetail Lib "test.dll" (ByVal info As String, ByVal detail As Long, length As Long, errcode As Long) As Long
返回值该怎么定义呢?As Long 好像不行?
请高手不吝赐教!!