#59 Windows DLL build with DEF file


This patch changes the Windows build (under
VC++) to using DEF files, so that the export
table for the Dlls remains binary compatible.

It is based on the export table in Expat 1.95.2,
extracted from the binary distribution Dll.
Four exported functions have been added
to the end of that table for release 1.95.5.

The attached zip archive DefBuild.zip contains
two DEF files, one for the expat project, and the
other for the expatw project. Just add each file to
the corresponding project in VC++.

There is also a small patch for xmlparse.c
required - included in the zip archive.

Please test and provide feedback.


  • Karl Waclawek

    Karl Waclawek - 2002-10-09

    Patch for DEF build

  • Fred L. Drake, Jr.

    • status: open --> closed-accepted
  • Fred L. Drake, Jr.

    Logged In: YES

    This was checked in some time ago.

    It seems to build fine for me on Windows; I'm not sure what
    the right way to test this is beyond making sure that finishes
    without error. Perhaps a Windows programmer can suggest
    something; my Windows expertise is fairly low.


Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks