Raylib Wrapper Help
#21
I hate to be the bearer of bad news but I think we're not going to ever be able to make a BI file that takes advantage of the entire DLL from Raylib. However, we have another option. Whatever it is you are trying to make, we can try to recreate the functions in QB64 using the original source. Still isn't a guarantee of success but it would sure as heck be a good way to go. I'm going to use the sample code from the GitHub that you shared and recreate all the functions that it uses. Then I'll give it a go. It might be a horrific failure. It might be a glorious success. But we'd basically just have to rewrite the functions as we go. Some functions will be fine to use without rewriting them and we can use them in conjunction with the rewritten functions. This coding challenge is fantastic and I love the idea of it. I just don't have much free time right now as I'm in the process of buying a house and then I'll be moving in. If you are on the Discord, you'll be able to reach me quicker and I'll be able to assist you on the go.
Ask me about Windows API and maybe some Linux stuff
Reply
#22
I really appericate your help. I didn't know calling the functions from the DLL was a bust. Ah well I did it as a coding exercise. As I said QB64 isn't my main programming language, but QBasic was my first programming language. I mainly use OpenEuphoria now along with C/C++ and some C#. I did read in the docs that you can call or translate C functions into QB64. No worries, no need to rush I've got time.

My sigil wrapper was much easier and it works fine. Then Sigil is only so many lines and is easily wrapped or ported to almost anything since it has such a simple design.
Reply




Users browsing this thread: 3 Guest(s)