Using Blitz3D with Blitz+

BlitzPlus Forums/BlitzPlus Programming/Using Blitz3D with Blitz+

Leon Brown(Posted 2004) [#1]
I remember hearing that it was possible to use use th GUI functionalities of Blitz+ to control a Blitz3D application. I assume that this is somehow done by using the CommandLine command, but am not sure exactly how it is done. Can anyone help?


Hotcakes(Posted 2004) [#2]
http://www.blitzbasic.com/Community/posts.php?topic=37678

As for CommandLine, I fail to see any way of utilising that to get two Blitz programs co-operating with each ither.


ckob(Posted 2004) [#3]
yes its possible all you need to do is have the GUI write to a text file and have b3d read from it to get the comamnds.

http://www.blitzbasic.com/codearcs/codearcs.php?code=605


Leon Brown(Posted 2004) [#4]
Hmmm, thanks guys, but could anyone possibly show me an easier example of how to use it please?


ckob(Posted 2004) [#5]
easier? this cant be done any easier way


Kev(Posted 2004) [#6]
heres an idea, i wrote some code that grabs a blitz bank address in memory.

here the example grabs a strings address, to simply grab a banks address we simply pass the bank and modify the .decs to use banks.
http://www.blitzbasic.com/codearcs/codearcs.php?code=1097

ok, execute blitz3d app then using grab bank addr function get the banks address then write the address to a file then execute blitz+ app next load the saved file that contains the address of the bank. next create a bank in blitz+ and point the address to that loaded from the blitz3d file. this could be done using a method simular to the grab bank addr function. or possable using RtlCopyMemory

should i attempt this? any ideas what speed and usage?

kev