The calldll function has to be the weirdest function of all. In the help files it says , out_bank (optional) - handle of bank that is made available from dll procedure to blitz.
now i am useing purebasic to make dll's and had gotten to the point where i find out that i can not write anything to the out_bank part of command. but i can read write back to the in_bank.
just as a test i wanted to read the values from the inbank with a peek and poke those same values back to the outbank side. but it always crashes.
so i thought maybe i wasnt addressing the banks the right way in purebasic. so i tried something else, i peeked the values on the inbank and they were just fine. then i poked different values into the same inbank address, and bingo it works.
so my question really is, whats the outbank for, if i cant write to or read from outbank.
now i am useing purebasic to make dll's and had gotten to the point where i find out that i can not write anything to the out_bank part of command. but i can read write back to the in_bank.
just as a test i wanted to read the values from the inbank with a peek and poke those same values back to the outbank side. but it always crashes.
so i thought maybe i wasnt addressing the banks the right way in purebasic. so i tried something else, i peeked the values on the inbank and they were just fine. then i poked different values into the same inbank address, and bingo it works.
so my question really is, whats the outbank for, if i cant write to or read from outbank.