本文介绍了与HTML敏捷性包和Visual Studio C题++的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要一个非常简单的HTML解析器可以从在.NET环境良好的HTML文档中提取的文本,表中的。我发现了几个参考HTMLAgilityPack。我的问题是,我使用了Visual C ++环境中的.NET框架。谁能帮我上说明我如何添加一个引用到C#生成的dll文件到VC ++项目?它甚至有可能使用HTMLAgilityPack在Visual C ++ Win32项目?如果你知道一个更好的/基本的C ++语法分析器,可以做任务,请让我知道。感谢您的帮助。

I am in need of a very simple HTML parser which can extract text, table from well-formed HTML documents in the .NET environment. I found several references to HTMLAgilityPack. My problem is that I am using the Visual C++ environment in the .NET framework. Can anyone help me with instructions on how do I add a "reference" to the C# generated .dll file into a VC++ project?Is it even possible to use the HTMLAgilityPack in a Visual C++ Win32 Project? If you know a better/basic C++ parser that can do the task please let me know.Thanks for your help.

推荐答案

在视觉工作室,你可以,如果你设置的资源依赖性多种语言的补充项目。我将在htmlagilitypack项目添加到解决方案,我的C ++项目

In visual studios you can add projects from multiple languages if you set the resource dependencies. I would add the htmlagilitypack project to the solution with my C++ project

这篇关于与HTML敏捷性包和Visual Studio C题++的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

07-02 02:30