Creating a win32 release

Stefan Gehn mETz81 at
Tue Jul 5 18:16:53 CEST 2005

Next update:

I managed to create a shared library (also known as DLL), one has to 
export symbols for this to work. Right now I have an extra header 

#ifndef DLLFCT_H
#define DLLFCT_H
#ifdef WIN32
	#ifdef BUILD_DLL
		#define EXPORT __declspec(dllexport)
		#define EXPORT __declspec(dllimport)
	#define EXPORT

On creating the DLL you also pass -DBUILD_DLL to export stuff (import is 
needed when you link against taglib, otherwise symbols would get 
exported another time).

I don't like the extra header so what about putting it into taglib.h? 
What about extending this to gcc visibility stuff as well?

Bye, Stefan aka mETz

More information about the taglib-devel mailing list