in a project I want to compile a given PB-file.
but the following code (example) don't work.
Code: Select all
FileChoose$ = OpenFileRequester("", "", "*.pb", 0)
MessageRequester("choosen file", FileChoose$) ; #############
myProg = RunProgram(#PB_Compiler_Home + "compilers/pbcompiler", #DQUOTE$+"--executable"+#DQUOTE$+#DQUOTE$+FileChoose$+#DQUOTE$, "", #PB_Program_Open)
Debug myProg
While ProgramRunning(myProg)
Debug "program running"
Wend
Debug "runprogram finished"
Also I tried a lot of combinations in "parameters" with the same result.
What is wrong?
BTW, the example in the help works as expected.