Click to See Complete Forum and Search --> : conversion of XML parser written in C++ using xerces library into a parter in c#


ankitvivek
June 7th, 2005, 12:55 AM
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

khp
June 7th, 2005, 02:48 AM
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.

bugmenotbugmenot
June 24th, 2005, 08:53 AM
Try making it a COM object in a DLL, and then use it from C#.