DLLs

Blitz3D Forums/Blitz3D Programming/DLLs

elseano(Posted 2004) [#1]
Quite a stupid question...
Can a DLL developed for one programming language be used in a different language. eg. There's a DLL desined for C++, and I want to use it with Blitz, is this possible? (and vice-versa?)


Bouncer(Posted 2004) [#2]
Yes


darklordz(Posted 2004) [#3]
except if they are vb6 dll's becaus ethey are actualy ole objects...


Panno(Posted 2004) [#4]
u can use purebasic,c++,powerbasic and asm ;)etc. to make
a dll for use in bb


Kanati(Posted 2004) [#5]
except if they are vb6 dll's becaus ethey are actualy ole objects...


Incorrect. BlitzPrinter and BlitzData are both written in VB6. However you have to purchase a 3rd party tool that modifies the project to allow exportable functions.

Kanati


Spacemonkey(Posted 2004) [#6]
How do you create a dll i powerbasic ?


Sweenie(Posted 2004) [#7]
If you don't include #COMPILE EXE at the top of the code
the compiler will automatically compile it as a dll.


elseano(Posted 2004) [#8]
ok, thanks. Just to clarify: I wan to use BulletML which is a DLL designed for use with C/D languages - can I use it with Blitz??


Kanati(Posted 2004) [#9]
Never heard of it. But if it returns standard data types, doesn't require callbacks or pointers to functions... Then yes. Probably.


elseano(Posted 2004) [#10]
Ok thanks. I'll give it a try.