CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    May 2005
    Posts
    6

    Exclamation conversion of XML parser written in C++ using xerces library into a parter in c#

    hi
    i have a spercific parsen written for a specific file using xerces library.
    now i want to parse the same file in c sharp
    can i use the same code of c++ in c sharp.
    or what can be done with minimum effort.

    ankit

  2. #2
    Join Date
    May 2003
    Location
    Denmark
    Posts
    1,315

    Re: conversion of XML parser written in C++ using xerces library into a parter in c#

    You will probably have to use MSXML for C# instead of Xerces. They both implement SAX and DOM parsers which is used to parse your XML file. But ofcourse there are implementaion differences that need to be addressed.

    So it will most likely take some effort.
    The biggest problem encountered while trying to design a system that was completely foolproof,
    was, that people tended to underestimate the ingenuity of complete fools.
    Douglas Adams

  3. #3
    Join Date
    Nov 2004
    Posts
    30

    Re: conversion of XML parser written in C++ using xerces library into a parter in c#

    Try making it a COM object in a DLL, and then use it from C#.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured