创建一个可在VC6及更高版本中使用的C ++ DLL. VC2008 [英] Create a C++ DLL which can be used in VC6 & VC2008

查看:157
本文介绍了创建一个可在VC6及更高版本中使用的C ++ DLL. VC2008的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我想创建一个C ++ DLL,供VC6和VC2008中开发的应用程序使用.这个怎么做?能否给我分享一些示例代码.

问候,
Sankar.

Hi,

I want to create a C++ DLL which can be used by applications developed in VC6 & VC2008. How to do this? Could you share me some sample code.

Regards,
Sankar.

推荐答案

尝试在VC6中创建它,并检查VC 2008代码是否可以使用它,然后尝试另一种方法. DLL的对象格式可能没有改变.一个简单的测试应该就是您所需要的.
Try creating it in VC6 and check whether it can be used by your VC 2008 code, and then try the other way round. It may well be that the object format of DLLs has not changed. A simple test should be all you need.


尝试 [ ^ ]一.而且我认为在VS6或VS8中创建Dll没有任何区别.
Try this[^] one. And I don''t think that there''s any difference in creating Dlls in VS6 or VS8.


这篇关于创建一个可在VC6及更高版本中使用的C ++ DLL. VC2008的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆