From ef09aec9bd9308d32e83e72bf5fd99aba2b5b302 Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Mon, 19 Nov 2007 05:53:50 +0000 Subject: [PATCH] Fix DLL generation, add testmxml to project. --- vcnet/mxml.sln | 9 +++ vcnet/mxml1.def | 7 ++- vcnet/mxml1.vcproj | 2 + vcnet/testmxml.vcproj | 134 ++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 150 insertions(+), 2 deletions(-) create mode 100644 vcnet/testmxml.vcproj diff --git a/vcnet/mxml.sln b/vcnet/mxml.sln index 5748484..a4e65cb 100644 --- a/vcnet/mxml.sln +++ b/vcnet/mxml.sln @@ -8,6 +8,11 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "mxml1", "mxml1.vcproj", "{E ProjectSection(ProjectDependencies) = postProject EndProjectSection EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "testmxml", "testmxml.vcproj", "{D909892E-520A-4322-9A47-DAEBDA9CC7A7}" + ProjectSection(ProjectDependencies) = postProject + {E5AA9476-9751-4654-8109-B1A2112D5E73} = {E5AA9476-9751-4654-8109-B1A2112D5E73} + EndProjectSection +EndProject Global GlobalSection(SolutionConfiguration) = preSolution Debug = Debug @@ -22,6 +27,10 @@ Global {E5AA9476-9751-4654-8109-B1A2112D5E73}.Debug.Build.0 = Debug|Win32 {E5AA9476-9751-4654-8109-B1A2112D5E73}.Release.ActiveCfg = Release|Win32 {E5AA9476-9751-4654-8109-B1A2112D5E73}.Release.Build.0 = Release|Win32 + {D909892E-520A-4322-9A47-DAEBDA9CC7A7}.Debug.ActiveCfg = Debug|Win32 + {D909892E-520A-4322-9A47-DAEBDA9CC7A7}.Debug.Build.0 = Debug|Win32 + {D909892E-520A-4322-9A47-DAEBDA9CC7A7}.Release.ActiveCfg = Release|Win32 + {D909892E-520A-4322-9A47-DAEBDA9CC7A7}.Release.Build.0 = Release|Win32 EndGlobalSection GlobalSection(ExtensibilityGlobals) = postSolution EndGlobalSection diff --git a/vcnet/mxml1.def b/vcnet/mxml1.def index b9725d3..3739684 100644 --- a/vcnet/mxml1.def +++ b/vcnet/mxml1.def @@ -1,10 +1,13 @@ -LIBRARY "MXML1.DLL" +LIBRARY "MXML1" EXPORTS _mxml_snprintf - _mxml_strdup _mxml_strdupf _mxml_vsnprintf _mxml_vstrdupf + mxml_ignore_cb + mxml_integer_cb + mxml_opaque_cb + mxml_real_cb mxmlAdd mxmlDelete mxmlElementDeleteAttr diff --git a/vcnet/mxml1.vcproj b/vcnet/mxml1.vcproj index d8302e6..94de216 100644 --- a/vcnet/mxml1.vcproj +++ b/vcnet/mxml1.vcproj @@ -34,6 +34,7 @@ Name="VCLinkerTool" OutputFile="mxml1d.dll" LinkIncremental="2" + ModuleDefinitionFile=".\mxml1.def" GenerateDebugInformation="TRUE" ProgramDatabaseFile="$(OutDir)/mxml1.pdb" SubSystem="2" @@ -81,6 +82,7 @@ Name="VCLinkerTool" OutputFile="mxml1.dll" LinkIncremental="1" + ModuleDefinitionFile=".\mxml1.def" GenerateDebugInformation="TRUE" SubSystem="2" OptimizeReferences="2" diff --git a/vcnet/testmxml.vcproj b/vcnet/testmxml.vcproj new file mode 100644 index 0000000..64d82ea --- /dev/null +++ b/vcnet/testmxml.vcproj @@ -0,0 +1,134 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +