I ran into a problem when integrating it with my application - namely, it appears to need -lang to be one of the more modern dialects and not qb, whereas my app is using the qb lang option.

What I'm wondering is if there is a way for me to get this up and running under lang qb? My code is ready to run except for a few minor details relating to loading image files and the sound. There are a number of changes I'd have to make to get it running under lang fb. I'd like to eventually get there, but I'm hoping for a solution in the interim. Any ideas?

I'm also opening to using other code / library for this purpose. I've looked at several, but thus far I haven't found anything that seemed like it would be a better option...several handle audio files, but all I need is really basic PLAY statement support.

Thanks,Dave

P.S. I inherited this software and am moving it from QB 4.5 to FreeBasic. While I have rights to redevelop the software, I haven't been given permission to release the source code and thus need a library that is under a permissive license or that can be dynamically linked to avoid requiring source code release for this app.

davidshq wrote:I haven't been given permission to release the source code and thus need a library that is under a permissive license or that can be dynamically linked to avoid requiring source code release for this app.

I think there should not be a problem for you with my "PLAY" software. FBPSL (FreeBASIC-Portal-Standardlizenz) section 3 says only that it is not allowed to release source code or downloads under the license FBPSL on web sides or web portals which are similiar to the FreeBasic Portal regarding functionality and/or appearance. Or do you mean an other software?

the link by Tourist Trap points to Mysoft's implementation, I prefer the second version since it does not use inline asm, you can compile either version by Mysoft to a library and then you can use it in your qb compatible code.

if you want to work with lang qb, you could also use QB64 which is fully compatible with QuickBASIC (also regarding the PLAY function). I mean, translating all your QB45 stuff to lang fb is much more work than using QB64. (On the other hand, I am not a friend of that old QB style.)

@Lothar - I've actually used QB64 quite a bit. I started this work years ago on FreeBasic and then moved to QB64 because of the ease of writing code...however, QB64's sound implementation utilizes LGPL licensed software which requires that any software it is integrated into be open source unless it is dynamically linked.

QB64, unfortunately, does not have a simple way to use its sound implementation in this form, meaning I'd have to open source the code, which as I mentioned above is not within the scope of license provided me. :-(

I do not want to cause any problems for anybody who wants to use my downloads on FreeBASIC Portal. You can use all codes for whatever you want. The download "PLAY in FreeBASIC" can now be used without any restrictions, all my downlaods are now licensed under WTFPL http://www.wtfpl.net/.

Last edited by Lothar Schirm on Dec 06, 2016 15:32, edited 3 times in total.