[prev in list] [next in list] [prev in thread] [next in thread] 

List:       xerces-c-dev
Subject:    [jira] Created: (XERCESC-1751) MS DevStudio 2005 SP1, failure to
From:       "Andrea Barbieri (JIRA)" <xerces-c-dev () xml ! apache ! org>
Date:       2007-10-09 16:27:51
Message-ID: 282463.1191947271146.JavaMail.jira () brutus
[Download RAW message or body]

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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic