求助!!!vb调用vc写的dll函数,返回值为结构体指针,怎么弄啊

英仑 2012-07-11 08:31:43
vb调用vc写的dll函数,接口函数返回值为结构体指针,运行老是出错怎么弄啊?
这是返回值的结构体:
typedef struct {
rec_header header; /**< A processed version of the last record read */

int fd; /**< Actual file descriptor for the backingfile */
union {

byte_t padding[4];
} __fd;

stdf_format file_format; /**< Compressed file format */
char *filename; /**< Filename that was given to stdf_open() */
__stdf_fops *fops; /**< Virtual file i/o functions to hide compression details */

int byte_order; /**< Byte order of the file */
uint32_t opts; /**< Misc options to control libstdf behavior */
dtc_U1 ver; /**< Spec version of the file */

byte_t *__data;
byte_t *rec_pos;
byte_t *rec_end;

byte_t *__output;
byte_t *_write_pos;
dtc_U2 _write_chunk_size;
} stdf_file;

stdf_file里面有另外的结构体
...全文
164 回复 打赏 收藏 转发到动态 举报
AI 作业
写回复
用AI写文章
回复
切换为时间正序
请发表友善的回复…
发表回复

1,488

社区成员

发帖
与我相关
我的任务
社区描述
VB API
社区管理员
  • API
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧