Calling a Blitz exe from Vbasic

Archives Forums/Blitz3D Bug Reports/Calling a Blitz exe from Vbasic

caviedes(Posted 2008) [#1]
I have created a exe in blitz, it runs very well, except when it is called from "shell" i.e x=Shell("C:\MVPU\api.exe", 1)
function of a VBasic 6.0 application (Memory acces violation), any idea?


Dreamora(Posted 2008) [#2]
yeah you forgot to change the directory to the blitz applications dir first thus your current directory is seen as home directory and there it will most likely not find the files it is looking for with relative filepaths :)