是否有任何 RIA 框架允许我使用 C++?
我用 C++ 编写了一个简单的应用程序,我需要连接任何 RIA 只是为了查看进程...有没有基于 C++ 的好的 RIA
I have written an simple applications in C++, and I need to connect with any RIA just for viewing the process ... is there is any good RIA based on C++
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
Qt 是一个优秀的、流行的 C++ 跨平台 GUI 库。
不过,我不知道它是否符合您对“RIA”的定义。
Qt is a good, popular cross-platform GUI library for C++.
I don't know whether it matches your definition of "RIA", though.
Silverlight 是最适合您的框架。您可能会发现这个 Stackoverflow 问题很有趣。
更新
看到您的评论后,我建议您使用ISAPI或 CGI 使用 C 或 C++ 进行编程
更新 2
在确定您需要从浏览器执行C++代码,答案是ActiveX。但可移植性是一个问题。
Silverlight is the nearest framework for you. You may find this Stackoverflow question interesting.
Update
After seeing your comment, I'd recommend you using ISAPI or CGI programming in C or C++
Update 2
After figuring that you need to execute C++ code from browsers, The answer is ActiveX. But portability is an issue, rather.
一般来说,这是很难做到的。客户不信任从互联网上运行任意 C++ 代码,因为人们不希望阳光下的每个网站都能够安装恶意软件,并且通常在每次访问网站时都劫持整个计算机。因此,在一般情况下,您想要的实际上是不可能的。
如果您愿意要求用户回答大量提示,并且可以将您的应用程序限制为 Windows 上的 Internet Explorer,那么您可以熟悉 COM 并编写 ActiveX 控件。
不过,我强烈建议不要这样做。
Generally speaking, this is difficult to do. Clients don't trust running arbitrary C++ code from the internet, because people don't want every website under the sun to be able to install malware, and generally hijack the entire machine, every time they visit a web site. In the general case, therefore, what you want is not really possible.
If you're willing to require the user to answer a ton of prompts, and are okay restricting your application to Internet Explorer on Windows, you could familiarize yourself with COM and write an ActiveX control.
I would strongly advise against doing so, however.
您看过 Qt 吗?它带有 Webkit 内置。它也比其他 RIA 实现更便携。顺便说一句,大多数 RIA 实现都在语言虚拟机上运行,而这些虚拟机又以 C 或 C++ 实现:-)
Have you looked at Qt? It comes with Webkit built-in. It is also more portable than other RIA implementations. BTW, most RIA implementations run on language virtual machines that are in turn implemented in C or C++ :-)