Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
New user library for FreeBASIC: Uematsu
#1
Uematsu is an SPC playback engine. This is the FB port of a modified JCOM SPC core player. This is not a project; it's a complete product, so I posted this here in the normal FreeBASIC forum. Big Grin Anyways, I've uploaded it to my FB site (the link is in my signature), so come get it if you're into SPC music. Smile
I'd knock on wood, but my desk is particle board.
Reply
#2
Hmmm... I can't here anything because when I was going through and deleting all my crap on my laptop I accedentally (spelling?) unistalled my sound drivers and cannot find it, or even find out what the manufacturer is since I got this laptop off of ebay.

Anyway, on to my real question. How do you make libs for FB? Thanks in advance. :rotfl:
f a fly walked, would it be called a walk?
Why dosn't someone make a word that rymes with purple or orange?
WHY AM I SO ANNOYING? Becuase I wanna!
Why am I typeing this? Cuz im bored!
Reply
#3
To make DLLs from scratch, you're gonna have to wait 'till fb 0.09. Big Grin To make libraries out of existing DLLs, you'll need the DLL's function declares and a .a file. If you don't have the .a file or the .def that goes with the .dll, visit my webpage (URL in my sig, hehe) and download the "make.a" package, which will automate the .a process if you follow its directions to a T. As far as the function declares...well, if you don't have them already or access to a header (like a .h file), you're pretty much screwed unless you wanna reverse engineer the sucka (that's how I built the header for Harmony...it can be done, but it's a painstaking process indeed for someone with no reverse engineering experience). Big Grin
I'd knock on wood, but my desk is particle board.
Reply
#4
Quote:To make libraries out of existing DLLs, you'll need the DLL's function declares and a .a file. If you don't have the .a file or the .def that goes with the .dll, visit my webpage (URL in my sig, hehe) and download the "make.a" package, which will automate the .a process if you follow its directions to a T. As far as the function declares...well, if you don't have them already or access to a header (like a .h file), you're pretty much screwed unless you wanna reverse engineer the sucka

Question:
What do you mean by making a library out of a dll, making a static library out of the dll?
So no dll needed anymore?

Another question:
If I have a static library how can I use it with fb?
I'm asking because I have a static lib that I would like to use but never did it before.
I'm supposed to link it with the exe right?
What about dependencies?

Oh well, so many questions...
Reply
#5
What I mean by "making a library out of a dll" is having the .a and .bi to go with it. I don't mean turning it into a static library. Big Grin As for static libraries, I dunno...ask v1ctor, I think he said something about static libraries being supported in 0.09...
I'd knock on wood, but my desk is particle board.
Reply
#6
Every DLL needs a import library to be used by any app linked with LD, the imp lib will be created automatically now with version 0.09b.

A static library can be created easily with the last ver, just add the -lib command-line optione -- see at examples\lib.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)