DLL样品或演练? [英] dll sample or walkthrough?

查看:66
本文介绍了DLL样品或演练?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要创建一个简单的dll,它将由

MS Access和.ASP应用程序使用。什么类型的dll最好

并且任何人都能指出一个完整的例子,我可以用Visual C ++编译和运行.net?


谢谢,

兰迪

Hi, I need to create a simple dll which will be used by
MS Access and .ASP apps. What type of dll would be best
and can anybody point me to a complete example which I
can compile and run with Visual C++ .net?

Thanks,
Randy

推荐答案

嗨兰迪,


感谢你在小组中发帖!
Hi Randy,

Thanks for you posting in the group!
我需要创建一个简单的dll,它将被MS Access和.ASP使用应用程序...
你想用DLL做什么用MS Access和.ASP?

a完整的例子我可以用Visual C ++ .net编译和运行吗?
Hi, I need to create a simple dll which will be used by
MS Access and .ASP apps... What do you want the DLL to do with the MS Access and .ASP?
a complete example which I
can compile and run with Visual C++ .net?



用于创建托管MFC常规DLL的VC ++ Appwizard
http://www.codeproject.com/managedcp...t=create%7CDLL

祝你好运,


Gary Chang

Microsoft在线合作伙伴支持


安全! - www.microsoft.com/security

此帖子原样是按原样提供的。没有保证,也没有赋予任何权利。

--------------------


VC++ Appwizard to create a Managed MFC Regular DLL
http://www.codeproject.com/managedcp...t=create%7CDLL
Best regards,

Gary Chang
Microsoft Online Partner Support

Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------


Gary,我的dll中的函数将执行计算和

访问数据,然后返回将在
MSAccess和.ASP应用程序中使用的值。我有大量的现有C代码,我将在dll中使用。

Gary, functions in my dll will perform calculations and
access data then return values which will be used in
MSAccess and .ASP apps. I have a large amount of
existing C code which I''ll use in the dll.

-----原始消息-----
我需要创建一个简单的dll,它将被MS Access和.ASP应用程序使用。什么类型的dll最好
并且任何人都能指出一个完整的例子,我可以使用Visual C ++编译和运行.net?

谢谢,
兰迪

-----Original Message-----
Hi, I need to create a simple dll which will be used by
MS Access and .ASP apps. What type of dll would be best
and can anybody point me to a complete example which I
can compile and run with Visual C++ .net?

Thanks,
Randy

.



嗨兰迪,


感谢您的快速回复!
Hi Randy,

Thanks for your quickly reply!
Gary,我的DLL中的函数将执行计算并访问数据,然后返回将在MSAccess和.ASP应用程序中使用的值。
Gary, functions in my DLL will perform calculations and
access data then return values which will be used in
MSAccess and .ASP apps.




如果你想让你的DLL可以被ASP页面使用,我想你应该创建一个

ATL COM DLL,它也可以通过Access应用程序加载。

有关此主题的详细信息,请参阅以下文档:

使用ATL开发Active Server组件
http://msdn.microsoft.com /library/de...us/dnasp/html/

comp.asp
祝你好运,

Gary Chang

微软在线合作伙伴支持


安全! - www.microsoft.com/security

此帖子原样是按原样提供的。没有保证,也没有赋予任何权利。

--------------------



If you want your DLL can be used by ASP pages, I think you should create an
ATL COM DLL, it also can be loaded by Access applications.
For detail information on this topic, please refer to the following docs:

Developing Active Server Components with ATL
http://msdn.microsoft.com/library/de...us/dnasp/html/
comp.asp
Best regards,

Gary Chang
Microsoft Online Partner Support

Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------


这篇关于DLL样品或演练?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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