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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to