PureBasic Multi Thread DLL Problem

Blitz3D Forums/Blitz3D Programming/PureBasic Multi Thread DLL Problem

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.

To pass banks using userlibs etc, you have to use the *< character in the decls.

I.e

test(myBank*,size%):"_test@8"


I've used pb+blitz to access memory banks created in blitz.

Although if you want to create a bank in pb and return it you may have to be careful. Alot of pb resources are stupidly nuked when the .dll call ends.

And I believe threading falls under that fate. I tried (and failed) to do the same thing.