CreateProcess:TStream(Path$)

BlitzMax Forums/BlitzMax Programming/CreateProcess:TStream(Path$)

'First of all, thanks a lot to all of you!
'It really helps!

'Sorry for late answering but I found some functions which may help:
Extern "Win32"
'Sorry only usable on win32
  Function WinExec ( Cmd:Byte Ptr , Show )
  Function ShellExecuteA ( Wnd , Cmd:Byte Ptr , File:Byte Ptr , Params:Byte Ptr , Dir:Byte Ptr , Show )
  Function CreateProcessA ( App:Byte Ptr , Cmd:Byte Ptr , PrAt , ThAt , InHandels , Flags , Env:Byte Ptr , Dir:Byte Ptr , S , P )
EndExtern
'The last of them is very intressting but not easy not understand ( as I think ).
'ShellExecuteA(...) seems to be equal to ExecFile(Path$) in BB.