You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by "Scott Cantor (JIRA)" <xe...@xml.apache.org> on 2009/12/09 16:39:18 UTC

[jira] Commented: (XERCESC-1900) Compile xerces.dll using /MT to remove the dependency on msvcr90.dll

    [ https://issues.apache.org/jira/browse/XERCESC-1900?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12788127#action_12788127 ] 

Scott Cantor commented on XERCESC-1900:
---------------------------------------

As an option, it's fine, but 99% of today's apps assume DLL-based runtimes and mixing runtime models in a program stack crashes (or used to) due to memory management issues.

You should probably consider bundling MS' runtime library merge modules into your installer.

> Compile xerces.dll using /MT to remove the dependency on msvcr90.dll
> --------------------------------------------------------------------
>
>                 Key: XERCESC-1900
>                 URL: https://issues.apache.org/jira/browse/XERCESC-1900
>             Project: Xerces-C++
>          Issue Type: Improvement
>          Components: Build
>    Affects Versions: 3.0.1
>         Environment: Windows OS.
>            Reporter: David Wendt
>            Priority: Trivial
>
> The xerces-c_3_0.dll requires msvc90.dll to be installed. We have found that some of our customers do not have the msvcr90.dll installed on their machines. 
> Changing the compile flag from /MD to /MT for the Release configuration will remove the dependency (compiles all needed C-runtime code into the xerces DLL itself). The result is a 90KB bigger DLL which is only about 6% increase in size.
> I can provide the modified .vcproj. 
> Another option is to create a separate Release configuration with this compile option too.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org