I make exe by command line.
I use for that this line :
Code: Select all
ShortPathRepExeAInstaller$ = Space(#MAX_PATH)
GetShortPathName_(PathExe, @ShortPathRepExeAInstaller$, #MAX_PATH)
ShortPathSource$ = Space(#MAX_PATH)
GetShortPathName_(PathSource$, @ShortPathSource$, #MAX_PATH)
ShortPathCompilateur$ = Space(#MAX_PATH)
GetShortPathName_(PathOfPb$ + "Compilers\PBCompiler.exe", @ShortPathCompilateur$, #MAX_PATH)
RunProgram(ShortPathCompilateur$, ShortPathSource$ + " /EXE " + Chr(34) + ShortPathRepExeAInstaller$ + NomExe + ".exe" + Chr(34), "", #PB_Program_Wait)

So i don't have the information why, that don't works.
Is the compiler write a log file, or is it possible to ask at the compiler what error is it ???
Because the console appears only a few seconds, and i don't have the time to read

I whish you a good day