My log4cxx0.9.7 link problem was resolved by
change setting of the project in "C/C++ -> Language -> Treat wchar_t as
Built-In Type" to "No" ( courtesy of
http://www.tek-tips.com/viewthread.cfm?qid=395540&page=7 )
Since I see no similar complaints, it could well be a VC++8 specific
issue.
--
Jerry
T&O-RTT
DBS Tower 2
DID 687 85315
-----Original Message-----
From: Jerry Jie Ji [mailto:jerryji@xxxxxxx]
Sent: Thursday, March 02, 2006 11:01 AM
To: log4cxx-user@xxxxxxxxxxxxxxxxxx
Subject: log4cxx0.9.7 msxml linking error in MS Visual C++ 2005 Express
Hi Savior,
I am stuck with the following linking error when building log4cxx0.9.7
dll project in MS Visual C++ 2005 Express Edition (the static project,
however, builds fine) --
Linking...
Creating library ../Lib/Debug/log4cxx.lib and object
../Lib/Debug/log4cxx.exp msxml.obj : error LNK2019: unresolved external
symbol "wchar_t * __stdcall _com_util::ConvertStringToBSTR(char const
*)"
(?ConvertStringToBSTR@_com_util@@YGPA_WPBD@Z) referenced in function
"public: __thiscall _variant_t::_variant_t(char const *)"
(??0_variant_t@@QAE@PBD@Z)
msxml.obj : error LNK2019: unresolved external symbol "char * __stdcall
_com_util::ConvertBSTRToString(wchar_t *)"
(?ConvertBSTRToString@_com_util@@YGPADPA_W@Z) referenced in function
"public: char const * __thiscall _bstr_t::Data_t::GetString(void)const "
(?GetString@Data_t@_bstr_t@@QBEPBDXZ)
../Bin/Debug/log4cxx.dll : fatal error LNK1120: 2 unresolved externals
BTW, I've installed Microsoft Platform SDK for Windows Server 2003 SP1,
MSXML 3.0, MSXML 4.0 SDK SP2 but none helped.
Any help will be greatly appreciated!
--
Jerry
-----Original Message-----
From: log4cxx-user-help@xxxxxxxxxxxxxxxxxx
[mailto:log4cxx-user-help@xxxxxxxxxxxxxxxxxx]
Sent: Thursday, March 02, 2006 10:56 AM
To: Jerry Jie Ji
Subject: WELCOME to log4cxx-user@xxxxxxxxxxxxxxxxxx
Hi! This is the ezmlm program. I'm managing the
log4cxx-user@xxxxxxxxxxxxxxxxxx mailing list.
Acknowledgment: I have added the address
jerryji@xxxxxxx
to the log4cxx-user mailing list.
Welcome to log4cxx-user@xxxxxxxxxxxxxxxxxx!
Please save this message so that you know the address you are
subscribed under, in case you later want to unsubscribe or change your
subscription address.
--- Administrative commands for the log4cxx-user list ---
I can handle administrative requests automatically. Please
do not send them to the list address! Instead, send
your message to the correct command address:
To subscribe to the list, send a message to:
<log4cxx-user-subscribe@xxxxxxxxxxxxxxxxxx>
To remove your address from the list, send a message to:
<log4cxx-user-unsubscribe@xxxxxxxxxxxxxxxxxx>
Send mail to the following for info and FAQ for this list:
<log4cxx-user-info@xxxxxxxxxxxxxxxxxx>
<log4cxx-user-faq@xxxxxxxxxxxxxxxxxx>
Similar addresses exist for the digest list:
<log4cxx-user-digest-subscribe@xxxxxxxxxxxxxxxxxx>
<log4cxx-user-digest-unsubscribe@xxxxxxxxxxxxxxxxxx>
To get messages 123 through 145 (a maximum of 100 per request), mail:
<log4cxx-user-get.123_145@xxxxxxxxxxxxxxxxxx>
To get an index with subject and author for messages 123-456 , mail:
<log4cxx-user-index.123_456@xxxxxxxxxxxxxxxxxx>
They are always returned as sets of 100, max 2000 per request,
so you'll actually get 100-499.
To receive all messages with the same subject as message 12345,
send an empty message to:
<log4cxx-user-thread.12345@xxxxxxxxxxxxxxxxxx>
The messages do not really need to be empty, but I will ignore
their content. Only the ADDRESS you send to is important.
You can start a subscription for an alternate address,
for example "john@xxxxxxxxxxx", just add a hyphen and your
address (with '=' instead of '@') after the command word:
<log4cxx-user-subscribe-john=host.domain@xxxxxxxxxxxxxxxxxx>
To stop subscription for this address, mail:
<log4cxx-user-unsubscribe-john=host.domain@xxxxxxxxxxxxxxxxxx>
In both cases, I'll send a confirmation message to that address. When
you receive it, simply reply to it to complete your subscription.
If despite following these instructions, you do not get the
desired results, please contact my owner at
log4cxx-user-owner@xxxxxxxxxxxxxxxxxxx Please be patient, my owner is a
lot slower than I am ;-)
--- Enclosed is a copy of the request I received.
Return-Path: <jerryji@xxxxxxx>
Received: (qmail 22463 invoked by uid 99); 2 Mar 2006 02:56:19 -0000
Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49)
by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Mar 2006 18:56:19
-0800
X-ASF-Spam-Status: No, hits=0.5 required=10.0
tests=DNS_FROM_RFC_ABUSE
X-Spam-Check-By: apache.org
Received-SPF: pass (asf.osuosl.org: local policy)
Received: from [203.143.137.71] (HELO [203.143.137.71]) (203.143.137.71)
by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Mar 2006 18:56:18
-0800
Received: from no.name.available by [203.143.137.71]
via smtpd (for [140.211.166.49] [140.211.166.49]) with ESMTP;
Thu, 2 Mar 2006 11:02:58 +0800
Received: from W01G1BNKMBX01X.reg1.1bank.dbs.com ([10.196.232.1]) by
W01G1BNKSMT02.reg1.1bank.dbs.com with Microsoft SMTPSVC(6.0.3790.211);
Thu, 2 Mar 2006 10:55:55 +0800
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.181
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Subject: RE: confirm subscribe to log4cxx-user@xxxxxxxxxxxxxxxxxx
Date: Thu, 2 Mar 2006 10:56:37 +0800
Message-ID:
<E0DFC72AA639BF46BC9FD322683C1E7F03A3F815@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
com>
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
Thread-Topic: confirm subscribe to log4cxx-user@xxxxxxxxxxxxxxxxxx
Importance: normal
Priority: normal
Thread-Index: AcY9pJWYpRIjV8vjRWa24P6Lvde0ZQAADlQw
From: "Jerry Jie Ji" <jerryji@xxxxxxx>
To:
<log4cxx-user-sc.1141268014.dlhpncihckomopgajapm-jerryji=dbs.com@logging
.apache.org>
X-OriginalArrivalTime: 02 Mar 2006 02:55:55.0040 (UTC)
FILETIME=[D2FD8A00:01C63DA4]
X-eShield-AntiVirus: Passed
X-eShield-AntiVirus-Message: Scanned by http://www.bluecoat.com/eShield
X-Virus-Checked: Checked by ClamAV on apache.org
--
Jerry
T&O-RTT
DBS Tower 2
DID 687 85315
-----Original Message-----
From: log4cxx-user-help@xxxxxxxxxxxxxxxxxx
[mailto:log4cxx-user-help@xxxxxxxxxxxxxxxxxx]=20
Sent: Thursday, March 02, 2006 10:54 AM
To: Jerry Jie Ji
Subject: confirm subscribe to log4cxx-user@xxxxxxxxxxxxxxxxxx
Hi! This is the ezmlm program. I'm managing the
log4cxx-user@xxxxxxxxxxxxxxxxxx mailing list.
To confirm that you would like
jerryji@xxxxxxx
added to the log4cxx-user mailing list, please send
an empty reply to this address:
=20
log4cxx-user-sc.1141268014.dlhpncihckomopgajapm-jerryji=3Ddbs.com@loggin
g=
.
apache.org
Usually, this happens when you just hit the "reply" button.
If this does not work, simply copy the address and paste it into
the "To:" field of a new message.
This confirmation serves two purposes. First, it verifies that I am able
to get mail through to you. Second, it protects you in case someone
forges a subscription request in your name.
Some mail programs are broken and cannot handle long addresses. If you
cannot reply to this request, instead send a message to
<log4cxx-user-request@xxxxxxxxxxxxxxxxxx> and put the
entire address listed above into the "Subject:" line.
--- Administrative commands for the log4cxx-user list ---
I can handle administrative requests automatically. Please
do not send them to the list address! Instead, send
your message to the correct command address:
To subscribe to the list, send a message to:
<log4cxx-user-subscribe@xxxxxxxxxxxxxxxxxx>
To remove your address from the list, send a message to:
<log4cxx-user-unsubscribe@xxxxxxxxxxxxxxxxxx>
Send mail to the following for info and FAQ for this list:
<log4cxx-user-info@xxxxxxxxxxxxxxxxxx>
<log4cxx-user-faq@xxxxxxxxxxxxxxxxxx>
Similar addresses exist for the digest list:
<log4cxx-user-digest-subscribe@xxxxxxxxxxxxxxxxxx>
<log4cxx-user-digest-unsubscribe@xxxxxxxxxxxxxxxxxx>
To get messages 123 through 145 (a maximum of 100 per request), mail:
<log4cxx-user-get.123_145@xxxxxxxxxxxxxxxxxx>
To get an index with subject and author for messages 123-456 , mail:
<log4cxx-user-index.123_456@xxxxxxxxxxxxxxxxxx>
They are always returned as sets of 100, max 2000 per request,
so you'll actually get 100-499.
To receive all messages with the same subject as message 12345,
send an empty message to:
<log4cxx-user-thread.12345@xxxxxxxxxxxxxxxxxx>
The messages do not really need to be empty, but I will ignore
their content. Only the ADDRESS you send to is important.
You can start a subscription for an alternate address,
for example "john@xxxxxxxxxxx", just add a hyphen and your
address (with '=3D' instead of '@') after the command word:
<log4cxx-user-subscribe-john=3Dhost.domain@xxxxxxxxxxxxxxxxxx>
To stop subscription for this address, mail:
<log4cxx-user-unsubscribe-john=3Dhost.domain@xxxxxxxxxxxxxxxxxx>
In both cases, I'll send a confirmation message to that address. When
you receive it, simply reply to it to complete your subscription.
If despite following these instructions, you do not get the
desired results, please contact my owner at
log4cxx-user-owner@xxxxxxxxxxxxxxxxxxx Please be patient, my owner is a
lot slower than I am ;-)
--- Enclosed is a copy of the request I received.
Return-Path: <jerryji@xxxxxxx>
Received: (qmail 21430 invoked by uid 99); 2 Mar 2006 02:53:34 -0000
Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49)
by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Mar 2006 18:53:34
-0800
X-ASF-Spam-Status: No, hits=3D0.5 required=3D10.0
tests=3DDNS_FROM_RFC_ABUSE,HTML_MESSAGE
X-Spam-Check-By: apache.org
Received-SPF: pass (asf.osuosl.org: local policy)
Received: from [203.143.137.71] (HELO [203.143.137.71]) (203.143.137.71)
by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Mar 2006 18:53:32
-0800
Received: from no.name.available by [203.143.137.71]
via smtpd (for [140.211.166.49] [140.211.166.49]) with ESMTP;
Thu, 2 Mar 2006 11:00:08 +0800
Received: from W01G1BNKMBX01X.reg1.1bank.dbs.com ([10.196.232.1]) by
W01G1BNKSMT02.reg1.1bank.dbs.com with Microsoft SMTPSVC(6.0.3790.211);
Thu, 2 Mar 2006 10:52:17 +0800
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.181
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: multipart/alternative;
boundary=3D"----_=3D_NextPart_001_01C63DA4.510151D9"
Subject: SUBSCRIBE
Content-Transfer-Encoding: 7bit
Date: Thu, 2 Mar 2006 10:52:59 +0800
Message-ID:
<E0DFC72AA639BF46BC9FD322683C1E7F03A3F7F0@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
com>
X-MS-Has-Attach:=20
X-MS-TNEF-Correlator:=20
Thread-Topic: SUBSCRIBE
Importance: normal
Priority: normal
Thread-Index: AcY9pGpPn72zmgvVSR6QWbYqcFo/oQ=3D=3D
From: "Jerry Jie Ji" <jerryji@xxxxxxx>
To: <log4cxx-user-subscribe@xxxxxxxxxxxxxxxxxx>
X-OriginalArrivalTime: 02 Mar 2006 02:52:17.0240 (UTC)
FILETIME=3D[512BE580:01C63DA4]
X-eShield-AntiVirus: Passed
X-eShield-AntiVirus-Message: Scanned by http://www.bluecoat.com/eShield
X-Virus-Checked: Checked by ClamAV on apache.org
This is a multi-part message in MIME format.
------_=3D_NextPart_001_01C63DA4.510151D9
Content-Type: text/plain;
charset=3D"us-ascii"
Content-Transfer-Encoding: quoted-printable
SUBSCRIBE
=3D20
--
Jerry
T&O-RTT
DBS Tower 2
DID 687 85315
=3D20
CONFIDENTIAL NOTE: The information contained in this email is intended =
=3D
only for the use of the individual or entity named above and may contain
=3D
information that is privileged, confidential and exempt from disclosure
=3D
under applicable law. If the reader of this message is not the intended
=3D
recipient, you are hereby notified that any dissemination, distribution
=3D
or copying of this communication is strictly prohibited. If you have =3D
received this message in error, please immediately notify the sender and
=3D
delete the mail.
Thank you.
------_=3D_NextPart_001_01C63DA4.510151D9
Content-Type: text/html;
charset=3D"us-ascii"
Content-Transfer-Encoding: quoted-printable
<html xmlns:o=3D3D"urn:schemas-microsoft-com:office:office" =3D
xmlns:w=3D3D"urn:schemas-microsoft-com:office:word" =3D
xmlns:st1=3D3D"urn:schemas-microsoft-com:office:smarttags" =3D
xmlns=3D3D"http://www.w3.org/TR/REC-html40">
<head>
<META HTTP-EQUIV=3D3D"Content-Type" CONTENT=3D3D"text/html; =3D
charset=3D3Dus-ascii">
<meta name=3D3DGenerator content=3D3D"Microsoft Word 11 (filtered =
medium)">
<o:SmartTagType =3D
namespaceuri=3D3D"urn:schemas-microsoft-com:office:smarttags"
name=3D3D"PlaceType"/>
<o:SmartTagType =3D
namespaceuri=3D3D"urn:schemas-microsoft-com:office:smarttags"
name=3D3D"PlaceName"/>
<o:SmartTagType =3D
namespaceuri=3D3D"urn:schemas-microsoft-com:office:smarttags"
name=3D3D"place"/>
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
/* Font Definitions */
@font-face
{font-family:SimSun;
panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
{font-family:"\@SimSun";
panose-1:2 1 6 0 3 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman";}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:Tahoma;
color:windowtext;
font-weight:normal;
font-style:normal;
text-decoration:none none;}
@page Section1
{size:8.5in 11.0in;
margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
{page:Section1;}
-->
</style>
</head>
<body lang=3D3DEN-US link=3D3Dblue vlink=3D3Dpurple>
<div class=3D3DSection1>
<p class=3D3DMsoNormal><font size=3D3D2 face=3D3DTahoma><span =3D
style=3D3D'font-size:10.0pt;
font-family:Tahoma'>SUBSCRIBE<o:p></o:p></span></font></p>
<p class=3D3DMsoNormal><font size=3D3D2 face=3D3DTahoma><span =3D
style=3D3D'font-size:10.0pt;
font-family:Tahoma'><o:p> </o:p></span></font></p>
<p class=3D3DMsoNormal><font size=3D3D2 face=3D3DTahoma><span =3D
style=3D3D'font-size:10.0pt;
font-family:Tahoma'>--<br>
Jerry<br>
T&O-RTT<br>
<st1:place w:st=3D3D"on"><st1:PlaceName =
w:st=3D3D"on">DBS</st1:PlaceName> =3D
<st1:PlaceType
w:st=3D3D"on">Tower</st1:PlaceType></st1:place> =3D
2</span></font><o:p></o:p></p>
<p class=3D3DMsoNormal><font size=3D3D2 face=3D3DTahoma><span =3D
style=3D3D'font-size:10.0pt;
font-family:Tahoma'>DID 687 85315</span></font><o:p></o:p></p>
<p class=3D3DMsoNormal><font size=3D3D3 face=3D3D"Times New Roman"><span
=
=3D
style=3D3D'font-size:
12.0pt'><o:p> </o:p></span></font></p>
</div>
<p></p><p>CONFIDENTIAL NOTE: The information contained in this email is
=3D
intended only for the use of the individual or entity named above and =
=3D
may contain information that is privileged, confidential and exempt from
=3D
disclosure under applicable law. If the reader of this message is not =
=3D
the intended recipient, you are hereby notified that any dissemination,
=3D
distribution or copying of this communication is strictly prohibited. If
=3D
you have received this message in error, please immediately notify the =
=3D
sender and delete the mail. Thank you.</body>
</html>
------_=3D_NextPart_001_01C63DA4.510151D9--
CONFIDENTIAL NOTE: The information contained in this email is intended =
only for the use of the individual or entity named above and may contain
=
information that is privileged, confidential and exempt from disclosure
=
under applicable law. If the reader of this message is not the intended
=
recipient, you are hereby notified that any dissemination, distribution
=
or copying of this communication is strictly prohibited. If you have =
received this message in error, please immediately notify the sender and
=
delete the mail.
Thank you.
CONFIDENTIAL NOTE: The information contained in this email is intended
only for the use of the individual or entity named above and may contain
information that is privileged, confidential and exempt from disclosure
under applicable law. If the reader of this message is not the intended
recipient, you are hereby notified that any dissemination, distribution
or copying of this communication is strictly prohibited. If you have
received this message in error, please immediately notify the sender and
delete the mail.
Thank you.
CONFIDENTIAL NOTE: The information contained in this email is intended only for
the use of the individual or entity named above and may contain information
that is privileged, confidential and exempt from disclosure under applicable
law. If the reader of this message is not the intended recipient, you are
hereby notified that any dissemination, distribution or copying of this
communication is strictly prohibited. If you have received this message in
error, please immediately notify the sender and delete the mail.
Thank you.
|