Menu

Missing classes from Win32

Porting
John Dunn
2001-08-14
2001-08-30
  • John Dunn

    John Dunn - 2001-08-14

    Hello-

    It appears as though some classes are missing from the Win32 lib ( CommandOption, Dir, XMLStream, etc ). Are there plans on adding these classes into the Win32 lib? Am I missing something obvious?

    Thanks-

    John

     
    • David Sugar

      David Sugar - 2001-08-15

      There are two choices here which I have not yet experimented with.  One would be to port the GNOME libxml2 library to win32, which might be feasable.  The other would be to build a similar wrapper class for the existing MS XML parsing DLL, although I do not know if it allows for intercepting I/O methods the way libxml2 does.

       
    • John Dunn

      John Dunn - 2001-08-15

      This libxml2 - http://gnuwin32.sourceforge.net/packages/libxml2.htm? It looks like someone has already ported it. I am unfamilar with this particular xml parser. Is it just a SAX parser, or does it have additional functionality?

      I would recommend not using the MSXML parser. Its COM based ( obviously ) and the SAX interface is a little bit funky to use. 

       
      • David Sugar

        David Sugar - 2001-08-20

        If one uses the "posix" source tree under win32, then one doesnt need to directly deal with the issue of win32 support for XML at all...

         
        • John Dunn

          John Dunn - 2001-08-20

          Using the posix tree required the cgwin.dll, correct? I would rather not use the posix interfaces in win32 ( for stability and performance uses ), but I guess it's better than nothing.

          I have been playing around with the win32 libxml library and it appears to work fine. I will look and see if it just drop in.

           
          • David Sugar

            David Sugar - 2001-08-30

            If it also compiles directly under Visual Studio/MSC 6, then this could be an ideal portable solution.

             

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.