Versions comparison: obscure feature

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: Klaus, FourthWorld, heatherlaine, kevinmiller

Post Reply
ale870
Posts: 250
Joined: Tue Apr 22, 2008 9:17 am
Contact:

Versions comparison: obscure feature

Post by ale870 »

Hello,
in the versions comparison for RunRev versions, I found thi item:
Build “Faceless,” non-GUI applications and services
Can you tell me what does it mean? I have RunRev enterprise version, but I cannot write cgi (faceless) programs. And what are "services"?

Thank you!
Runtime Revolution Widgets, tutorials, tips & tricks and more!
http://runrevwidgets.com/wiki
RRobert
Posts: 151
Joined: Sat Feb 28, 2009 8:20 pm

Re: Versions comparison: obscure feature

Post by RRobert »

You could build CGI applications and services (daemons) with RunRev. You simply need to start the application with the argument -ui and put your code into the preopenstack handler.

Code: Select all

on preopenstack
put "Hello World :)"
quit
end preopenstack
Syntax: ./demo/demo -ui

Robert
ale870
Posts: 250
Joined: Tue Apr 22, 2008 9:17 am
Contact:

Re: Versions comparison: obscure feature

Post by ale870 »

As per my knowledge, that option was disabled in version 4.0.
Runtime Revolution Widgets, tutorials, tips & tricks and more!
http://runrevwidgets.com/wiki
RRobert
Posts: 151
Joined: Sat Feb 28, 2009 8:20 pm

Re: Versions comparison: obscure feature

Post by RRobert »

It works under Linux + Mac OS by default and is also possible under Windows with a trick.

Robert
RRobert
Posts: 151
Joined: Sat Feb 28, 2009 8:20 pm

Re: Versions comparison: obscure feature

Post by RRobert »

RRobert wrote:It works under Linux + Mac OS by default and is also possible under Windows with a trick.
PS: You could find the Windows trick here.

Robert
BvG
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 1239
Joined: Sat Apr 08, 2006 1:10 pm
Contact:

Re: Versions comparison: obscure feature

Post by BvG »

It works on all platforms (without arcane tricks, as long as you don't try to use ISS) but not with the engines from 4.0. You need the previous version 3.5. If you do not have that one, mail support so that they give you a download or so.
Various teststacks and stuff:
http://bjoernke.com

Chat with other RunRev developers:
chat.freenode.net:6666 #livecode
RRobert
Posts: 151
Joined: Sat Feb 28, 2009 8:20 pm

Re: Versions comparison: obscure feature

Post by RRobert »

But with the trick it works also under RunRev 4.

Robert
Post Reply