Posts: 843
Threads: 60
Joined: Mar 2003
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.
Posts: 6,419
Threads: 74
Joined: Mar 2002
You need a wrapper to "translate" from OO to procedural.
Posts: 843
Threads: 60
Joined: Mar 2003
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.
Posts: 6,419
Threads: 74
Joined: Mar 2002
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
Posts: 421
Threads: 22
Joined: Oct 2005
This IS a FreeBasic forum...
In the beginning, there is darkness â the emptiness of a matrix waiting for the light. Then a single photon flares into existence. Then another. Soon, thousands more. Optronic pathways connect, subroutines emerge from the chaos, and a holographic consciousness is born." -The Doctor
Posts: 127
Threads: 9
Joined: Oct 2004
I belive he meant the official FB forums at freebasic.net :wink:
If swimming is so good for your figure, how do you explain walruses?
Posts: 843
Threads: 60
Joined: Mar 2003
Alright, I'll try that in a few days.
Thanks for that little tip.