C++ isn't one of my stronger points, however here is how banks are built up:
http://www.blitzbasic.com/codearcs/codearcs.php?code=1518
And here is how to use a Blitz pointer in a C++ DLL:
http://www.blitzbasic.com/Community/posts.php?topic=44333
(It is Tom's post)
So, make a bank and pass "bank + 4" as a parameter to the DLL. Inside the dll, you should be able to do something like:
buffer = (unsigned int)*((int*)(buffer));
http://www.blitzbasic.com/codearcs/codearcs.php?code=1518
And here is how to use a Blitz pointer in a C++ DLL:
http://www.blitzbasic.com/Community/posts.php?topic=44333
(It is Tom's post)
So, make a bank and pass "bank + 4" as a parameter to the DLL. Inside the dll, you should be able to do something like:
buffer = (unsigned int)*((int*)(buffer));