有什么区别dllexpot& dllimport用简单的话说? [英] What is the difference between dllexpot & dllimport in simple words?
本文介绍了有什么区别dllexpot& dllimport用简单的话说?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
以下代码 -
THE FOLLOWING CODE-
#ifdef MATHFUNCSDLL_EXPORTS
#define MATHFUNCSDLL_API __declspec(dllexport)
#else
#define MATHFUNCSDLL_API __declspec(dllimport)
#endif
我想在上面代码导入&导出做同样的工作。可以有人指出我的区别吗?
I think in the above code both import & export does the same work.Can Someone point the difference for me?
推荐答案
您是否尝试在 google 在您努力发布问题之前?
您是否检查了文档?
在谷歌搜索比在这里发布问题并等待回复更容易吗?
好的。检查以下链接 -
dllexport和dllimport有什么区别? [ ^ ]
dllexport,dllimport [ ^ ]
在C ++类中使用dllimport和dllexport [ ^ ]
使用__declspec(dllimport)和__declspec(dllexport) [ ^ ]
希望,它有帮助:)
Have you tried searching the same in google prior to put your effort to post the question here ?
Have you checked the documentation?
Isn't it easier to search in google than post a question here and wait for replies?
Ok. Check following links-
What is the difference between dllexport and dllimport?[^]
dllexport, dllimport[^]
Using dllimport and dllexport in C++ Classes[^]
Using __declspec(dllimport) and __declspec(dllexport)[^]
Hope, it helps :)
这篇关于有什么区别dllexpot& dllimport用简单的话说?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文