开发者

OpenXML SDK C++ Examples

开发者 https://www.devze.com 2023-03-01 19:48 出处:网络
HI, I\'m trying to create a word document in C++ using OpenXML SDK, I\'m facing problems in add开发者_高级运维ing references and using namespace as most of the examples in the web are given based on

HI,

I'm trying to create a word document in C++ using OpenXML SDK, I'm facing problems in add开发者_高级运维ing references and using namespace as most of the examples in the web are given based on C#.

1.How do I add references to project and also use namespaces(Ex - using namespace System.Xml;) in the code

Also please suggest any C++ examples links for OpenXML SDK.

Thanks in advance


I don't know of any for the SDK, but if you're looking for C++ in .NET and working with Open XML (System.IO.Packaging, etc.), grab the C++/CLI samples and lab off of the Open XML Developer workshop content page. In fact, all the other stuff there is also very helpful in working with Open XML.


C++ uses static objects, hence to interact with .netframework you must use managed objects. C++/CLI is the best one for this business. Where you integrate common language infrastructure with C++. Check the below link..

http://www.codeproject.com/KB/mcpp/quickcppcli.aspx

0

精彩评论

暂无评论...
验证码 换一张
取 消