I modified the BVM setup code to work in BlitzMax. This is a modified version of the source code files that come with the free trial version:
http://www.leadwerks.com/post/BVMMax.zip
Just place BlitzVirtualMachine.dll in the same directory.
I'm dead tired, and a few functions still need to be modified to handle strings to and from the dll correctly. The technique for this is on here somewhere, I do it all the time. I figured maybe someone else who is interested in this can work on it while I sleep.
As far as I can tell, once the string-handling is fixed, my example should work perfectly.
http://www.leadwerks.com/post/BVMMax.zip
Just place BlitzVirtualMachine.dll in the same directory.
I'm dead tired, and a few functions still need to be modified to handle strings to and from the dll correctly. The technique for this is on here somewhere, I do it all the time. I figured maybe someone else who is interested in this can work on it while I sleep.
As far as I can tell, once the string-handling is fixed, my example should work perfectly.