DLL函数
int Write(unsigned char *buf)
vb调用
public declare function Write lib "aaa.dll"(byref buf as byte) as integer
dim buf(10) as byte
dim i as integer
i=Write(byte(0))
设置断点调试时,一到这条语句就会出现“DLL调用约定错误”,但是生成.exe文件后,没问题,是vc的问题还是vb调用的问题
多谢了,急等....
int Write(unsigned char *buf)
vb调用
public declare function Write lib "aaa.dll"(byref buf as byte) as integer
dim buf(10) as byte
dim i as integer
i=Write(byte(0))
设置断点调试时,一到这条语句就会出现“DLL调用约定错误”,但是生成.exe文件后,没问题,是vc的问题还是vb调用的问题
多谢了,急等....
EXPORTS
FUNCTION_NAME