<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-15">
</head>
<body text="#000000" bgcolor="#ffffff">
Hi,
<br>
<br>
I've been struggling with TagLib and I couldn't get it working on
Windows. With the use of this tutorial I was able to compile TagLib
to a dll file - but how can I use it now? The command
<br>
<br>
<i>HINSTANCE m_hInst;
<br>
m_hInst = ::LoadLibrary((LPCWSTR)"taglib.dll");
</i><br>
<br>
works but when I try to apply a method like
<br>
<br>
<i>TagLib::FileRef f(file);
</i><br>
<br>
I get tons of errors...
<br>
<br>
<small><small>1> library "C: \ Users \ martin \ Desktop \
gen_WinampControlServer \ Release \ gen_WinampControlServer.lib"
and object "C: \ Users \ martin \ Desktop \
gen_WinampControlServer \ Release \ gen_WinampControlServer.exp
be created.
<br>
1> WinampControlServerSocket.obj: error LNK2028: unresolved
token (0A00017F) "public: __thiscall TagLib:: FileName::
filename (char const *)" "(0FileName @ taglib @ @ $ $ FQAE @ PBD
@ Z?) referenced in function "public: send cover (struct HWND__
*): void __thiscall winamp control server socket:" referred
"(send cover @ winamp control server socket @ @ $ $
FQAEXPAUHWND__ @ @ @ Z?).
<br>
1> WinampControlServerSocket.obj: error LNK2028: unresolved
token (0A000182) "public: __thiscall TagLib:: file name:: ~
filename (void)", "on the (1FileName @ taglib @ @ $ $ FQAE @
XZ?) is (<MarshalDestroy> @ filename @ taglib @ @ @ @ Z $
$ FSMXPAV12?) referenced in function "public: static void
__clrcall TagLib:: file name::: <MarshalDestroy> (filename
* class TagLib:)".
<br>
1> WinampControlServerSocket.obj: error LNK2028: unresolved
token (0A000183) "public: __thiscall TagLib:: filename: file
name (class TagLib:: FileName const &)" (0FileName @ taglib
@ @ $ $ FQAE @ ABV01? @ @ Z) referenced in function "public:
static void __clrcall TagLib:: file name:: <MarshalCopy>
(class TagLib:: file name *, class TagLib:: file name *)"
(<MarshalCopy> @ filename @? TagLib @ @ $ $ FSMXPAV12 @ 0
@ Z) "is referred.
<br>
1> WinampControlServerSocket.obj: error LNK2028: unresolved
token (0A00038C) "public: virtual __thiscall TagLib:: fileRef::
~ fileRef (void)", "on (1FileRef @ taglib @ @ $ $ FUAE @ XZ?) in
function "public: send cover (struct HWND__ *): void __thiscall
winamp control server socket:" referred "(send cover @ winamp
control server socket @ @ $ $ FQAEXPAUHWND__ @ @ @ Z?).
<br>
1> WinampControlServerSocket.obj: error LNK2028: unresolved
token (0A00038D) "public: __thiscall TagLib:: fileRef:: fileRef
(class TagLib:: filename, bool, enum TagLib:: AudioProperties::
read style)" (0FileRef? @ taglib @ @ $ $ FQAE @ VFileName @ 1 @
_NW4ReadStyle @ AudioProperties @ 1 @ @ Z) referenced in
function "public: void __thiscall winamp control server socket::
send cover (struct HWND__ *) (send cover @ winamp control server
socket @ @? $ $ FQAEXPAUHWND__ @ @ @ Z) referenced is.
<br>
1> WinampControlServerSocket.obj: error LNK2019: unresolved
external symbol "public: virtual __thiscall TagLib:: fileRef:: ~
fileRef (void)" in function (1FileRef @ taglib @ @ $ $ FUAE @
XZ?) "" public: void __thiscall winamp control server socket::
send cover (struct HWND__ *) "(? send cover @ winamp control
server socket @ @ $ $ FQAEXPAUHWND__ @ @ @ Z)".
<br>
1> WinampControlServerSocket.obj: error LNK2019: unresolved
external symbol "public: __thiscall TagLib:: fileRef:: fileRef
(class TagLib:: filename, bool, enum TagLib:: AudioProperties::
read style)" (0FileRef? @ taglib @ @ $ $ FQAE @ VFileName @ 1 @
_NW4ReadStyle @ AudioProperties @ 1 @ @ Z) referenced in
function "public: void __thiscall winamp control server socket::
send cover (struct HWND__ *) (send cover @ winamp control server
socket @ @ $ $ FQAEXPAUHWND__? @ @ @ Z) ".
<br>
1> WinampControlServerSocket.obj: error LNK2019: unresolved
external symbol "public: __thiscall TagLib:: FileName:: filename
(char const *)" "(0FileName @ taglib @ @ $ $ FQAE @ PBD @ Z?) in
function "public: void __thiscall winamp control server socket::
send cover (struct HWND__ *)" "(send cover @ winamp control
server socket @ @ $ $ FQAEXPAUHWND__ @ @ @ Z?).
<br>
1> WinampControlServerSocket.obj: error LNK2019: unresolved
external symbol "public: __thiscall TagLib:: filename: file name
(class TagLib:: FileName const &)" (0FileName @ taglib @ @ $
$ FQAE @ ABV01? @ @ Z) referenced in function "public: static
void __clrcall TagLib:: file name:: <MarshalCopy> (class
TagLib:: file name *, class TagLib:: file name *)"
(<MarshalCopy> @ filename @ @ @ taglib? $ $ FSMXPAV12 @ 0
@ Z) ".
<br>
1> WinampControlServerSocket.obj: error LNK2019: unresolved
external symbol "public: __thiscall TagLib:: file name:: ~
filename (void)" in function "(1FileName @ taglib @ @ $ $ FQAE @
XZ?) public: static void __clrcall TagLib:: file name::
<MarshalDestroy> (class TagLib:: file name *) "(?
<MarshalDestroy> @ filename @ @ @ taglib FSMXPAV12 $ $ @ @
Z)".
<br>
1> C: \ Users \ martin \ Desktop \ gen_WinampControlServer \
Release \ gen_WinampControlServer.dll: fatal error LNK1120: 10
unresolved externals.
<br>
</small></small>
<br>
Maybe you can give me a hint <span class="moz-smiley-s1" title=":)"><span>:)</span></span>
<br>
<br>
Regards
<br>
Martin
</body>
</html>