Qbasicnews.com

Full Version: visual c++ + freebasic
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I can't seem to figure out how to make a dll in visual c++ and then use that exact same dll in an fb program (use a library designed for c++ in fb). Any help would be great.
If you need more information, please let me know, and I will tell you.
You need a wrapper to "translate" from OO to procedural.
That's the word I was looking for Na_Th_An. I can make the dll, but I just don't know what to do after that (in fb) to use it.

I made the dll in visual c++, but I don't know what I should do in fb to use it. In other words, load the dll, start using the dll, and so on. What exactly should I put into the program that I will compile using fbc -lib into a .a.

If you didn't notice, I'm having a hard time explaining myself. I hope that someone understands what I mean.
I understand what you mean, but I can't help you further. I believe there was some kind of program to automaticly generate the .a and stuff, but I might me completely wrong. I'd suggest to ask at the freebasic forums where knowledgeable people live Smile
This IS a FreeBasic forum...
I belive he meant the official FB forums at freebasic.net :wink:
Alright, I'll try that in a few days.
Thanks for that little tip.