I'd like to create a myprogram.exe without a windows interface that can be called by another exe program .
as an example: run = "c:\myprogram.exe variable1, variable2 , variable3"
or a main function as in C++ Main()
I've searched but cannot find any examples that don't have a Procedure Win() with a
If OpenWindow(#WinMain, 0, 0,InnerWidth, InnerHeight, "myprogram", iFlags).
Thanks for any Purebasic references that can show me how to do this.
Can you create an MyProgram.exe without windows interface?
Can you create an MyProgram.exe without windows interface?
Last edited by mqsymth on Sat Aug 04, 2018 9:54 pm, edited 1 time in total.
Re: Can you create an MyProgram.exe without windows interfac
Have a look to Process library, specifically ProgramParameter()
sorry for my bad english
Re: Can you create an MyProgram.exe without windows interfac
I guess you look for excecutable format: console?
"Daddy, I'll run faster, then it is not so far..."
Re: Can you create an MyProgram.exe without windows interfac
You didn't look very far or very longmqsymth wrote:I'd like to create a myprogram.exe without a windows interface that can be called by another exe program .
as an example: run = "c:\myprogram.exe variable1, variable2 , variable3"
or a main function as in C++ Main()
I've searched but cannot find any examples that don't have a Procedure Win() with a
If OpenWindow(#WinMain, 0, 0,InnerWidth, InnerHeight, "myprogram", iFlags).

Console program: https://www.purebasic.com/documentation ... index.html
Examples at bottom of help page
Programs parameters
https://www.purebasic.com/documentation ... meter.html