<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=GB2312">
<META content="MSHTML 6.00.2900.6049" name=GENERATOR><LINK
href="BLOCKQUOTE{margin-Top: 0px; margin-Bottom: 0px; margin-Left: 2em}"
rel=stylesheet>
<META content="MSHTML 6.00.2900.2180" name=GENERATOR>
<STYLE>@font-face {
        font-family: ËÎÌå;
}
@font-face {
        font-family: Verdana;
}
@font-face {
        font-family: @ËÎÌå;
}
@page Section1 {size: 595.3pt 841.9pt; margin: 72.0pt 90.0pt 72.0pt 90.0pt; layout-grid: 15.6pt; }
P.MsoNormal {
        TEXT-JUSTIFY: inter-ideograph; FONT-SIZE: 10.5pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"; TEXT-ALIGN: justify
}
LI.MsoNormal {
        TEXT-JUSTIFY: inter-ideograph; FONT-SIZE: 10.5pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"; TEXT-ALIGN: justify
}
DIV.MsoNormal {
        TEXT-JUSTIFY: inter-ideograph; FONT-SIZE: 10.5pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"; TEXT-ALIGN: justify
}
A:link {
        COLOR: blue; TEXT-DECORATION: underline
}
SPAN.MsoHyperlink {
        COLOR: blue; TEXT-DECORATION: underline
}
A:visited {
        COLOR: purple; TEXT-DECORATION: underline
}
SPAN.MsoHyperlinkFollowed {
        COLOR: purple; TEXT-DECORATION: underline
}
SPAN.EmailStyle17 {
        FONT-WEIGHT: normal; COLOR: windowtext; FONT-STYLE: normal; FONT-FAMILY: Verdana; TEXT-DECORATION: none; mso-style-type: personal-compose
}
DIV.Section1 {
        page: Section1
}
UNKNOWN {
        FONT-SIZE: 10pt
}
BLOCKQUOTE {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px; MARGIN-LEFT: 2em
}
OL {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
UL {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
</STYLE>
</HEAD>
<BODY style="FONT-SIZE: 10pt; MARGIN: 10px; FONT-FAMILY: verdana"><FONT
face=Verdana color=#000000 size=2>
<DIV> </DIV>
<DIV><FONT face=Verdana size=2><FONT face=Verdana size=2>Hi ALL:</FONT></DIV>
<DIV>
<DIV> </DIV>
<DIV style="TEXT-INDENT: 2em">I want to use taglib to extract id3 from media
files on wince 6.0. When I use VS2005 to build taglib , it have many the same
warnings as the follow:</DIV>
<DIV style="TEXT-INDENT: 2em">
<DIV>/toolkit\tfile.h : warning C4251: 'TagLib::FileName::m_name' : class 'std::basic_string<_Elem,_Traits,_Ax>' needs to have dll-interface to be used by clients of class 'TagLib::FileName'</DIV>
<DIV>1> with</DIV>
<DIV>1> [</DIV>
<DIV>1> _Elem=char,</DIV>
<DIV>1> _Traits=std::char_traits<char>,</DIV>
<DIV>1> _Ax=std::allocator<char></DIV>
<DIV>1> ] </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>How to resolve this? Has it bad effect to my Application when I use
it?</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>if I modify the class FileName to the followings:</DIV>
<DIV> </DIV>
<DIV>
<DIV>class TAGLIB_API FileName</DIV>
<DIV> {</DIV>
<DIV> public:</DIV>
<DIV> FileName(const wchar_t *name) : m_pwname(name) {}</DIV>
<DIV> FileName(const char *name) : m_pname(name) {}</DIV>
<DIV> operator const wchar_t *() const { return m_pwname; }</DIV>
<DIV> operator const char *() const { return m_pname; }</DIV>
<DIV> private:</DIV>
<DIV> const char* m_pname;</DIV>
<DIV> const wchar_t* m_pwname;</DIV>
<DIV> };</DIV></DIV>
<DIV> </DIV>
<DIV>,the above warnings do not appear. But I don't know it is ok to use the
Tablib.dll.</DIV>
<DIV> </DIV>
<DIV>As we know, MSVC has many options to build the library, such as
UNICODE(Preprocessor Definitions), treat wchar_t as build in type, Runtime
library...</DIV>
<DIV> </DIV>
<DIV>What should we select?</DIV>
<DIV> </DIV>
<DIV>I am a newer to use the taglib and not familiar to MSVC, so I want to
have someone to help me.</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>Thank you for your help!</DIV>
<DIV> </DIV>
<DIV>Regards</DIV></DIV>
<DIV><FONT face=Verdana size=2></FONT> </DIV>
<DIV align=left><FONT face=Verdana color=#c0c0c0 size=2>2010-12-21
</FONT></DIV><FONT face=Verdana size=2>
<HR style="WIDTH: 122px; HEIGHT: 2px" align=left SIZE=2>
<DIV><FONT face=Verdana color=#c0c0c0
size=2><SPAN>MiaoSpark</SPAN> </FONT></DIV></FONT></FONT></DIV></FONT></BODY></HTML>