Skip to content

c接口程序 无法生成 #8

@xiu1216

Description

@xiu1216

您好,我本来是要调用您提供的c#接口进行下单软件的开发,结果在调用交易登录函数时候总是引发异常,而且在下载文件里面直接提供的c接口文件下的那三个dll也是无法使用的,所以想到使用您的c接口程序重新生成时候 结果出现
rror C2664: “PVOID _InlineInterlockedExchangePointer(volatile PVOID ,PVOID)”: 无法将参数 1 从“MSQueue<CCTPMsgQueue::SMsgItem *>::node_t *”转换为“volatile PVOID *”
1> 与指向的类型无关;转换要求 reinterpret_cast、C 样式转换或函数样式转换
1> f:\ctp-master\c-ctp\src\quantbox.c2ctp\include\lockfreeq.h(146): 编译类 模板 成员函数“MSQueue<CCTPMsgQueue::SMsgItem *>::pointer_t::pointer_t(const MSQueue<CCTPMsgQueue::SMsgItem *>::pointer_t &)”时
1> f:\ctp-master\c-ctp\src\quantbox.c2ctp\include\lockfreeq.h(214): 参见对正在编译的函数 模板 实例化“MSQueue<CCTPMsgQueue::SMsgItem *>::pointer_t::pointer_t(const MSQueue<CCTPMsgQueue::SMsgItem *>::pointer_t &)”的引用
1> f:\ctp-master\c-ctp\src\quantbox.c2ctp\include\lockfreeq.h(172): 参见对正在编译的类 模板 实例化“MSQueue<CCTPMsgQueue::SMsgItem *>::pointer_t”的引用
1> f:\ctp-master\c-ctp\src\quantbox.c2ctp\ctpmsgqueue.h(271): 参见对正在编译的类 模板 实例化“MSQueue<CCTPMsgQueue::SMsgItem *>”的引用
最终无法生成.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions