Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
visual c++ + freebasic
#1
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.
Reply
#2
You need a wrapper to "translate" from OO to procedural.
SCUMM (the band) on Myspace!
ComputerEmuzone Games Studio
underBASIC, homegrown musicians
[img]http://www.ojodepez-fanzine.net/almacen/yoghourtslover.png[/i
Reply
#3
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.
Reply
#4
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
SCUMM (the band) on Myspace!
ComputerEmuzone Games Studio
underBASIC, homegrown musicians
[img]http://www.ojodepez-fanzine.net/almacen/yoghourtslover.png[/i
Reply
#5
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
Reply
#6
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?
Reply
#7
Alright, I'll try that in a few days.
Thanks for that little tip.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)