如何在Windows下将队列传递给C中的DLL函数 [英] How to passs the queue to the DLL function in c under windows`
本文介绍了如何在Windows下将队列传递给C中的DLL函数的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我创建了DLL.
dll函数声明为:
DBDLL_API void db(char *,queue< vector< clientinformation1>>);
在dll中没有问题..它创建DLL和库文件.
但是在编译时产生错误sir的主要问题中..我怎么称呼dll
i created the DLL.
The dll function declaration is :
DBDLL_API void db(char*,queue< vector <clientinformation1> >);
in dll no problem.. it creating the DLL and Library files .
but in main problem in compile time in producing error sir .. how can i call the dll
推荐答案
,您应该只传输本机数据,将元素出队,然后放进去在通话中.或写入文件并使用文件名进行调用.
所以你只会遇到麻烦...
you should transfer only native data, dequeue the elements and than put them in a call. Or write in a file and call with the filename.
So you only run into trouble...
这篇关于如何在Windows下将队列传递给C中的DLL函数的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文