ID3LIB - Standard GNU MP3 Tagging library
ID3LIB - Standard GNU MP3 Tagging library
Has anyone out there used this with PB?
http://id3lib.sourceforge.net/
- seems to be the standard lib that all the main media players use - would be nice if it worked with PB too!
BTW I just downloaded MediaMonkey. I bought a copy of MusicMatch a couple of years ago, I love it but its beginning to collapse under its own weight of features. MediaMonkey seems to have taken the essential feature of MMJB, iTunes etc and is a nice alternative... (it also apparently uses ID3LIB)
Ta - N
http://id3lib.sourceforge.net/
- seems to be the standard lib that all the main media players use - would be nice if it worked with PB too!
BTW I just downloaded MediaMonkey. I bought a copy of MusicMatch a couple of years ago, I love it but its beginning to collapse under its own weight of features. MediaMonkey seems to have taken the essential feature of MMJB, iTunes etc and is a nice alternative... (it also apparently uses ID3LIB)
Ta - N
Ta - N
You can always write a C-wrapper without too much hassle.KarLKoX wrote:ID3lib is a C++ lib wich can't be used as a library
The beginning of a wrapper is even included in the pack, wrapping additional
functions shouldn't be that hard. There're already user-patches wrapping more
functions. Other than that, yeah, simply use the DLL-version.
Good programmers don't comment their code. It was hard to write, should be hard to read.
No, this is impossible : i allready tried the C wrapper for the libmodplug (this is an example) but as pelle's* is only a C compiler it can't resolved C++ symbols.traumatic wrote:You can always write a C-wrapper without too much hassle.KarLKoX wrote:ID3lib is a C++ lib wich can't be used as a library
I played a lot with the linker <--> purebasic and i never found a way to use C++ code within a purelibrary (even a simple "hello world").
If you got a solution you ll be very HELPFUL !
* The 3.0 build is available
You can use Visual C++, it works with itKarLKoX wrote:No, this is impossible : i allready tried the C wrapper for the libmodplug (this is an example) but as pelle's* is only a C compiler it can't resolved C++ symbols.traumatic wrote:You can always write a C-wrapper without too much hassle.KarLKoX wrote:ID3lib is a C++ lib wich can't be used as a library
I played a lot with the linker <--> purebasic and i never found a way to use C++ code within a purelibrary (even a simple "hello world").
If you got a solution you ll be very HELPFUL !
* The 3.0 build is available
Of course it works. Its just a matter of extern "C" as Fred said.
I did this a few times with success. Besides wrapping C++, I can't
imagine how I would survive with just plain C. I'm using this 'hybrid approach'
on a daily basis. (IIRC I already told you this in another thread some time ago)
I did this a few times with success. Besides wrapping C++, I can't
imagine how I would survive with just plain C. I'm using this 'hybrid approach'
on a daily basis. (IIRC I already told you this in another thread some time ago)
Good programmers don't comment their code. It was hard to write, should be hard to read.
This was not a extern "C" as i compiled a lot of userlib with success (with the right calling conv), my pb occured when i was mixing my C code for my C library with a third C++ lib (libmodplug) : this lib allready have a C wrapper with the extern "C" keyword so it can't be a extern "C" pb.
And i never got errors related to a "un-exported" function, it was always for some exe section or some kind of (bsdata, _rtti, __$text ...)
Note this was the case with the lcc linker (pb 3.81 and <) and this is my second try with pelles'c.
And i never got errors related to a "un-exported" function, it was always for some exe section or some kind of (bsdata, _rtti, __$text ...)
Note this was the case with the lcc linker (pb 3.81 and <) and this is my second try with pelles'c.



