Page 1 of 1

How to set-up Revolution for faceless apps under WinXP

Posted: Mon Aug 07, 2006 6:45 pm
by rozek
Hello!

Assuming that CGIs and "faceless" Revolution applications are basically the same, I would like to know how to set-up Revolution (Studio) for faceless applications under WinXP.

I tried the "naive" way, using

<path-ot-revolution>\Revolution.exe <script-file-name>

but this command always starts the development environment.

What is the proper way to use Revolution for faceless apps?

Posted: Tue Oct 31, 2006 12:52 pm
by oliverk
Hi Andreas,

What is it that you want your application to do?

If you want the application to be run through the CGI, (eg the application is run when a url is opened in a browser) then you will need a Revolution CGI engine. There is not a CGI engine available for Windows Servers yet, but there are CGI engines available for web servers running on Unix and Mac OS X.

If you just want to write a command line application, then you can do this simply by creating a stack in Revolution for your program, and setting the visible of the stack to false before you save it. You can then handle the startup message, using $1, $2 etc to get to the command line parameters, and quit the application once done, without showing the gui. (You will need to save the stack as a standalone application).

Hope this is some help

Regards

Oliver

great tip!

Posted: Tue Oct 31, 2006 1:06 pm
by marielle
Great tip! Thanks

Posted: Thu Nov 30, 2006 7:26 pm
by rozek
Hello Oliver!

Sorry for sending my reply so late - but I've been both busy and (then) on vacation for a while.

Indeed, my intention is to try building command line applications with Revolution (which might be overkill, but I just want to try that out).

Will "faceless" applications still work on all platforms supported by Revolution?

Anyway, thanks a lot for your help!