ov:Lib v0.27 - Stream OggVorbis in PureBasic (3.94 / 4.00)
OvLib issue with PB 4.00 final
Hello
I just move to PB 4.00 from 3.94 and OvLib (both 0.23 and 0.26) makes the PB 4.00 final compiler fail with Polink error like "POLINK: error: Unresolved External Symbol "_ftlused"" (roachofdeath seemed to have same problem with PB 3.92).
I wonder if you are aware for this issue and if there is a simple way to make it work ?
By the way, your lib is really cool ! Thank You for sharing it !
I just move to PB 4.00 from 3.94 and OvLib (both 0.23 and 0.26) makes the PB 4.00 final compiler fail with Polink error like "POLINK: error: Unresolved External Symbol "_ftlused"" (roachofdeath seemed to have same problem with PB 3.92).
I wonder if you are aware for this issue and if there is a simple way to make it work ?
By the way, your lib is really cool ! Thank You for sharing it !
Re: OvLib issue with PB 4.00 final
Here's a quick workaround:
I can't test right now but this should help.
The lib has to be updated anyway as all functions that are supposed to
return strings are currently broken...
Sorry for any inconvenience.
Code: Select all
!public _fltused
!_fltused dw 0
The lib has to be updated anyway as all functions that are supposed to
return strings are currently broken...

Sorry for any inconvenience.
Good programmers don't comment their code. It was hard to write, should be hard to read.
Still not working
I inserted the workaround code in the beginnig of my code and got the same result.
To be more precise than yesterday the errors are, for the relevant ovlib version:
ovLib 0.23 : One POLINK Error : unresolved external symbol '_PB_Window_Current'
ovlib 0.26 : Two POLINK Errors : unresolved external symbol '_fltused' and same for '_allshr'
Regards
To be more precise than yesterday the errors are, for the relevant ovlib version:
ovLib 0.23 : One POLINK Error : unresolved external symbol '_PB_Window_Current'
ovlib 0.26 : Two POLINK Errors : unresolved external symbol '_fltused' and same for '_allshr'
Regards
Re: Still not working
ha yes...banban73 wrote:ovlib 0.26 : Two POLINK Errors : unresolved external symbol '_fltused' and same for '_allshr'
Code: Select all
!public _fltused
!public _allshr
!_fltused dw 0
!_allshr dw 0
Code: Select all
Import "msvcrt.lib"
EndImport
If I don't manage to get the update done in the near future, I think
I'll release the source in the hope that someone else will maintain it.
Sorry.
Good programmers don't comment their code. It was hard to write, should be hard to read.
Great ! It works !
The msvcrt.lib import method is the right one (on my computer at least). It works perfectly.
Thank you very much Traumatic !
Regards
Thank you very much Traumatic !
Regards
Re: Still not working
Or so that we can learn from your code.traumatic wrote:If I don't manage to get the update done in the near future, I think I'll release the source in the hope that someone else will maintain it.

@}--`--,-- A rose by any other name ..
Re: Still not working
Hehe, you'd be disappointed for sure - no magic inside.Dare2 wrote:Or so that we can learn from your code.
Good programmers don't comment their code. It was hard to write, should be hard to read.
Re: Still not working
I don't believe that.traumatic wrote:Hehe, you'd be disappointed for sure - no magic inside.
Anyhow, it's probably in C++ which is a plus - I could just look at it and go "wow", even if it was crap - what would I know.

@}--`--,-- A rose by any other name ..
Re: Still not working
Ok, I'd probably be better off _not_ releasing the source then. Gotta keep the myth going! 

Good programmers don't comment their code. It was hard to write, should be hard to read.
Thanks.Inf0Byt3 wrote:Veeery very nice lib. And extremely usefull. Could this be used for VOIP apps ?
VOIP? Don't know how this library could be of any use in this respect
as all it does is load and play (stream) .ogg files... (?)
Good programmers don't comment their code. It was hard to write, should be hard to read.
Can this be used with oggs packed with PureBasic's packer commands, in a way similar to:
... and if so, how? Tried to play around with it, but couldn't get it to work.
Anyway, thanks to traumatic for a very good lib!
~ B
Code: Select all
CatchSound(#Sound, NextPackFile())
Anyway, thanks to traumatic for a very good lib!
~ B