首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 开发语言 > VC/MFC >

dll供pb调用的有关问题

2012-02-19 
dll供pb调用的问题想写一个dll给pb调用pb调用代码是这样的public function integer pbtest (ref integer b

dll供pb调用的问题
想写一个dll给pb调用

pb调用代码是这样的
public function integer pbtest (ref integer buff[38],ref mystru stru1) library "mypb.dll"

其中mystru是个结构,是这样定义的
unsignedinteger test1
unsignedinteger test2[0 to 20]
unsignedinteger test3[0 to 3]

buff是个整形数组

那在vc中mypb.dll的pbtest该怎么写呢,先谢了.

另外,哪位有关于vc dll方面好的书箱介绍啊.


[解决办法]
ref integer buff[38]应该是int* buff 缓冲区长度自己控制
ref mystru stru1应该是struct mystru* stru1

热点排行