Hopefully not a stupid question

Blitz3D Forums/Blitz3D Programming/Hopefully not a stupid question

Picklesworth(Posted 2004) [#1]
Uhm, how do you wrap functions in b3d?
I understand the userlibs part, but how would I write the dll?
Would I just make a list of functions containing function calls for whatever language the original code is made for and make it a dll and make a decls file?
If I'm somehow right, how would I go about doing this?

( by the way, I'm finally going to learn C, C# and C++. Any tips on doing so, etc? )


Synchronist(Posted 2004) [#2]
"...by the way, I'm finally going to learn C, C# and C++. Any tips on doing so, etc?"

Learn the language first, then you'll have a better understanding of how to write .dll files. It would be hard to tell you how to write a .dll without you first having a grasp of the C/C++ language. Unless, of course, you want to use PureBasic or Assembler...


Picklesworth(Posted 2004) [#3]
all right, I'll do that first then, thanks.