在VC ++ DLL中使用ingenico OCX,没有通用语言运行时 [英] Using ingenico OCX in VC++ DLL with No common language run time

查看:108
本文介绍了在VC ++ DLL中使用ingenico OCX,没有通用语言运行时的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,



我有Ingenico设备,我在sdk中获得.OCX文件用于开发。



我的要求是我想在vc ++中为该OCX创建包装器dll,并且该dll不应该依赖于.net框架(无CLR)。是否可以在没有任何WindowsForm的情况下将ocx包装在dll中只使用OCX功能?如果是,那么我可以得到一些例子,因为我是VC ++的新手。如果没有,是否有任何其他方法为此设备创建包装DLL或任何人有想法ingenico SDK在VC ++中创建自己的DLL而没有.NET框架依赖?



谢谢

解决方案

请参阅我对该问题的评论。这种依赖性根本不存在。



目前尚不清楚你想要什么样的例子;您甚至没有提供您将要使用的产品的任何参考;我不知道你想如何使用它,确切地说,你的目标是什么。无论如何,它几乎不适合快速回答的格式。也许你需要知道的是如何在C ++代码中使用OCX控件。你可以从这里开始:

http://en.wikipedia.org/wiki/OCX [ ^ ],

http://en.wikipedia.org/wiki/ActiveX_Control [ ^ ],

http://msdn.microsoft.com/en-us/library/wbds43cy.aspx [ ^ ]。



-SA

Hi All,

I have Ingenico device and I got .OCX files in sdk for development.

My requirement is I want to create wrapper dll in vc++ for that OCX,and that dll should not depend on .net framework(No CLR). Is that possible to wrap ocx in dll without any WindowsForm just use OCX functions? if yes then can I get some example, because I am new in VC++. If no than, Is there any other way to create wrapper DLL for this device or anybody have idea of ingenico SDK for creating own DLL in VC++ without .NET framework dependency?

Thanks

解决方案

Please see my comment to the question. Such dependency just does not exist.

It's not clear what example would you want; you did not even provide any reference to the product you are going to use; and I have no idea on how you want to use it, exactly, what are the goals of you project. Anyway, it hardly can fit a format of a Quick Answer. Perhaps all you need to know is how to use OCX controls in C++ code. You can start here:
http://en.wikipedia.org/wiki/OCX[^],
http://en.wikipedia.org/wiki/ActiveX_Control[^],
http://msdn.microsoft.com/en-us/library/wbds43cy.aspx[^].

—SA


这篇关于在VC ++ DLL中使用ingenico OCX,没有通用语言运行时的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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