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 "Alberto Massari (JIRA)" <xe...@xml.apache.org> on 2008/04/09 16:16:24 UTC

[jira] Resolved: (XERCESC-1751) MS DevStudio 2005 SP1, failure to link in the xml4com project: can't find ConvertStringToBSTR symbol

     [ https://issues.apache.org/jira/browse/XERCESC-1751?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alberto Massari resolved XERCESC-1751.
--------------------------------------

    Resolution: Won't Fix

xml4com has been removed

> MS DevStudio 2005 SP1, failure to link in the xml4com project: can't find ConvertStringToBSTR symbol
> ----------------------------------------------------------------------------------------------------
>
>                 Key: XERCESC-1751
>                 URL: https://issues.apache.org/jira/browse/XERCESC-1751
>             Project: Xerces-C++
>          Issue Type: Bug
>          Components: Build, COM Wrapper
>    Affects Versions: 2.8.0
>         Environment: Windows XP SP2, Visual Studio 2005 SP1
>            Reporter: Andrea Barbieri
>            Priority: Blocker
>
> when compiling the whole solution only one project fails (xlm4com).
> this is because the ConvertStringToBSTR symbol is not found.
> I fixed the problem by adding to StdAfx.cpp just after the #include of stdafx.h the following lines:
> #if defined(_MSC_VER) && _MSC_VER > 1300
> #pragma comment(lib, "comsuppw.lib")
> #endif

-- 
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