How do banks use the momory?

Blitz3D Forums/Blitz3D Programming/How do banks use the momory?

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.

when a bank is created the returned value is an internal struct used by blitz. the correct way would be to pass the bank to the .dll as an address pointer using '*' defined in the .decls function.

*EDIT

so your .decls might look like this


.lib "mydll.dll"
banktest%(bank*):"_banktest@4"