Qbasicnews.com
visual c++ + freebasic - Printable Version

+- Qbasicnews.com (http://qbasicnews.com/newforum)
+-- Forum: Qbasic "like" compilers/interpreters (http://qbasicnews.com/newforum/forum-5.html)
+--- Forum: FB Discussion & Programming Help (http://qbasicnews.com/newforum/forum-15.html)
+--- Thread: visual c++ + freebasic (/thread-9673.html)



visual c++ + freebasic - speedlemon - 09-19-2006

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.


visual c++ + freebasic - na_th_an - 09-19-2006

You need a wrapper to "translate" from OO to procedural.


visual c++ + freebasic - speedlemon - 09-20-2006

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.


visual c++ + freebasic - na_th_an - 09-20-2006

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


visual c++ + freebasic - Skyler - 09-20-2006

This IS a FreeBasic forum...


visual c++ + freebasic - The walrus - 09-20-2006

I belive he meant the official FB forums at freebasic.net :wink:


visual c++ + freebasic - speedlemon - 09-21-2006

Alright, I'll try that in a few days.
Thanks for that little tip.