I need Help for Execute() command from CGI lib
Posted: Sun Dec 21, 2003 8:11 am
@El_Choni
Hi El_Choni,
i'm wrinting a little tool to do the final lib file from asm files and descriptor file.
I use FASM to convert asm to obj file.
Using RunProgram() to do that, i have no problem, but i can't get output msg from FASM.
I try to use your CGI lib, Execute commande. I do that in many ways without succes, i think it's only a synthax error.
FASM path is C:\PROGRAM FILES\PUREBASIC\Compilers\FASM.exe
Lib Path is (all my asm + .desc are here for example) C:\Program Files\PureBasic\Libs\MoreComboBox\
I put a space before commandline parameter.
But i'm not able to use this commande with succes. FASM is running but most of the time i get FASM msg :
flat assembler version 1.47
usage: fasm source output
or sometimes only flat assembler version 1.47
It depends on the parameters.
FASM need this synthax
FASM.exe MyAsmFile.asm MyAsmFile.obj
For MyAsmFile.asm i put entiere path and for the obj too, and one with the other without etc but it doesn't work.
My question is : What is the correct synthax to run correctly FASM in that case with your Execute command ?
Thanks for your Help El' Choni
Denis
Hi El_Choni,
i'm wrinting a little tool to do the final lib file from asm files and descriptor file.
I use FASM to convert asm to obj file.
Using RunProgram() to do that, i have no problem, but i can't get output msg from FASM.
I try to use your CGI lib, Execute commande. I do that in many ways without succes, i think it's only a synthax error.
FASM path is C:\PROGRAM FILES\PUREBASIC\Compilers\FASM.exe
Lib Path is (all my asm + .desc are here for example) C:\Program Files\PureBasic\Libs\MoreComboBox\
I put a space before commandline parameter.
But i'm not able to use this commande with succes. FASM is running but most of the time i get FASM msg :
flat assembler version 1.47
usage: fasm source output
or sometimes only flat assembler version 1.47
It depends on the parameters.
FASM need this synthax
FASM.exe MyAsmFile.asm MyAsmFile.obj
For MyAsmFile.asm i put entiere path and for the obj too, and one with the other without etc but it doesn't work.
My question is : What is the correct synthax to run correctly FASM in that case with your Execute command ?
Thanks for your Help El' Choni
Denis