Page 3 of 4

OvLib issue with PB 4.00 final

Posted: Mon May 15, 2006 6:31 pm
by banban73
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 !

Re: OvLib issue with PB 4.00 final

Posted: Mon May 15, 2006 6:43 pm
by traumatic
Here's a quick workaround:

Code: Select all

!public _fltused
!_fltused dw 0
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.

Posted: Tue May 16, 2006 10:10 am
by banban73
Thanks Traumatic for your quick answer.
I will try the trick this evening and report the results.

Regards

Still not working

Posted: Tue May 16, 2006 5:43 pm
by banban73
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

Re: Still not working

Posted: Tue May 16, 2006 6:33 pm
by traumatic
banban73 wrote:ovlib 0.26 : Two POLINK Errors : unresolved external symbol '_fltused' and same for '_allshr'
ha yes...

Code: Select all

!public _fltused
!public _allshr
!_fltused dw 0
!_allshr dw 0
or

Code: Select all

Import "msvcrt.lib"
EndImport
alternatively.

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.

Great ! It works !

Posted: Tue May 16, 2006 8:31 pm
by banban73
The msvcrt.lib import method is the right one (on my computer at least). It works perfectly.

Thank you very much Traumatic !

Regards

Re: Still not working

Posted: Tue May 16, 2006 11:49 pm
by Dare2
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.
Or so that we can learn from your code. :D

Re: Still not working

Posted: Wed May 17, 2006 8:30 am
by traumatic
Dare2 wrote:Or so that we can learn from your code. :D
Hehe, you'd be disappointed for sure - no magic inside.

Re: Still not working

Posted: Wed May 17, 2006 9:01 am
by Dare2
traumatic wrote:Hehe, you'd be disappointed for sure - no magic inside.
I don't believe that.

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. :)

Re: Still not working

Posted: Wed May 17, 2006 12:16 pm
by traumatic
Ok, I'd probably be better off _not_ releasing the source then. Gotta keep the myth going! :P

Posted: Wed May 17, 2006 3:02 pm
by Inf0Byt3
Veeery very nice lib. And extremely usefull. Could this be used for VOIP apps ?

Posted: Wed May 17, 2006 4:19 pm
by traumatic
Inf0Byt3 wrote:Veeery very nice lib. And extremely usefull. Could this be used for VOIP apps ?
Thanks.

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... (?)

Posted: Wed May 17, 2006 5:02 pm
by Inf0Byt3
Yes, I see... A RecordOgg procedure would be cool too :)

Posted: Sat Jul 01, 2006 4:59 pm
by Balatro
Can this be used with oggs packed with PureBasic's packer commands, in a way similar to:

Code: Select all

CatchSound(#Sound, NextPackFile())
... 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

Posted: Sun Jul 02, 2006 3:16 pm
by yoxola
I can't get it work, unresolved symbols on ovLib itself, will it get updated?