<!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 Joel,<br>
<br>
thanks for your comment - I finally made it! I am able to compile
the taglib examples without errors - and they work! Those
static_casts you mentioned were also done by me. You're right, you
have to add every single header directory to <i>Additional Include
Directories</i> as well as <i>zlib.lib and tag.lib</i> to the
linker. But I don't have to add <i>TAGLIB_STATIC</i> to the
preprocessor options (I don't even know what this is for :) ). I
don't get these linker errors, everything is fine. Make sure, you
have <br>
tag.dll<br>
tag.lib<br>
zlib.lib<br>
zlib1.dll<br>
inside your working directory. I've made some screenshots of my
project configuration (see attachment)...but they are in German :D
but I think, you can figure out what they mean because "C++" and
"Linker" are the same in German ;)<br>
<br>
I've tested you command<br>
<i>TagLib::MPEG::File a("tests/other/blank.mp3");</i><br>
but for this, you need some more #include-statements than just <br>
#include <fileref.h><br>
#include <tag.h><br>
<br>
Therefore I've run a script that gives me every *.h file from the
taglib directory. When you include all of them in your project, your
command should work. The includes are also in the attachment. <br>
<br>
<br>
Now my project should also work...but somehow I get a
"PInvokeStackImbalance" error without <i>TAGLIB_STATIC</i> in the
preprocessor options...and I get a "System.AccessViolationException"
error when I add<i> TAGLIB_STATIC</i>...do you have an idea why
these errors occur? oO<br>
<br>
Martin<br>
</body>
</html>