Okay, good news for any IBasic users.
I got a dll working in DBP! It's kind of ugly, because I have to use the call dll command, but it'll work for now.
Here's some example source.
number.dll(The IBasic Pro dll source)
export number
DECLARE CDECL number(num1 as INT),INT
SUB number(num1 as INT),INT
RETURN (num1)
ENDSUB
(Loading the IBasic Pro dll into DBP)
load dll "C:\...\number.dll",1
number = call dll(1,"number",250)
print number
wait key
By running this code, you should see the number 250 pop up on the screen. I'd like to figure out these string tables though, that way things aren't so ugly and can be done with 1 line of code verse a few.
I'll keep you posted.
A book? I hate book. Book is stupid.
(Formerly known as Yellow)
