Please explain how CallDll works

Blitz3D Forums/Blitz3D Beginners Area/Please explain how CallDll works

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

If you're using purebasic I'd suggest using Decls to implement the functions as you can then call the .dll calls directly.

But failing that, outbank allows you to write data to it. If it's not changing it's because you're writing in the wrong part of memory.

Remember you're only passing PB a pointer(Memory address) to the banks location. So, use POKEB at that passed integer handle to write data to it. I.e pokeB(addr+1,blah blah) pokeB(addr+2,blah blah) (In pb that is)

Read it as normal once returned.