Author | Topic: AXP | |
---|---|---|
Correnti giuseppe | AXP on Wed, 12 Nov 2003 14:42:56 +0100 Hi, I made some tests with Alaska's AXP I do not understand how I can integrate AXP with a "web-oriented program". It's just a HTML creator, or I can use it at "run-time" on the web? I mapped an .AXP document in the application configuration and axp.exe procedure to launch it on my web server, but seems it does not work. Has somebody some samples ? Can You help me? I use IIS ver. 6 on windows server 2003 IeExplore 6.0 Alaska xbase 1.82 When I start IeExplorer I receive this message : with RunScriptFile AXP scripting engine returned with error 2 (AXPSE_CANNOT_OPEN_INPUT_FILE I think) I have all rights on the files and directories (I can start cgi, asp, ecc) and with RunScript AXP script file successfully processed but I don't see the output in the browser this is my axp.prg (colors.axp is the sample of Alaska's AXP engine) #include "Simpleio.ch" #include "Axp10.ch" #pragma Library( "AxpSE10b.lib" ) PROCEDURE Main() LOCAL nError LOCAL nMode := AXP_MIXED LOCAL cParam := PValue(1) nError := RunScriptFile( "colors.axp",,AXP_MIXED ) DO CASE CASE nError == AXPSE_NO_ERROR ? "AXP script file successfully processed" CASE nError == AXPSE_INPUT_FILE_NOT_FOUND ? "AXP script file not found:", cAXPfile CASE nError == AXPSE_CANNOT_OPEN_INPUT_FILE ? "Unable to open AXP script file:", cAXPfile CASE nError == AXPSE_CANNOT_OPEN_OUTPUT_FILE ? "Unable to open output file:", cOutputFile CASE nError == AXPSE_EXEC_ERROR ? "Error while executing AXP script." IF nMode == AXP_MIXED ? "Check the output file", cOutputFile ENDIF CASE nError == AXPSE_MACHINE_NOT_READY ? "AXP scripting engine cannot be started" OTHERWISE ? "AXP scripting engine returned with error " + var2char(nError) ENDCASE RETURN PROCEDURE APPSYS RETURN | |
Correnti giuseppe | Re: AXP on Fri, 14 Nov 2003 13:26:19 +0100 I've solved reading PDR ID 5226 thanks you everybody !!! "Correnti giuseppe" <airsoft1@tin.it> ha scritto nel messaggio news:3fb23812@asgcom.alaska-software.com... > Hi, > > I made some tests with Alaska's AXP > I do not understand how I can integrate AXP with a "web-oriented program". > It's just a HTML creator, or I can use it at "run-time" on the web? > I mapped an .AXP document in the application configuration and axp.exe > procedure to launch it > on my web server, > but seems it does not work. > Has somebody some samples ? > Can You help me? > > I use IIS ver. 6 on windows server 2003 > IeExplore 6.0 > Alaska xbase 1.82 > > > When I start IeExplorer I receive this message : > > with RunScriptFile > AXP scripting engine returned with error 2 (AXPSE_CANNOT_OPEN_INPUT_FILE I > think) > I have all rights on the files and directories (I can start cgi, asp, ecc) > > > and with RunScript > AXP script file successfully processed > but I don't see the output in the browser > > > > this is my axp.prg (colors.axp is the sample of Alaska's AXP engine) > > > #include "Simpleio.ch" > #include "Axp10.ch" > #pragma Library( "AxpSE10b.lib" ) > PROCEDURE Main() > LOCAL nError > LOCAL nMode := AXP_MIXED > LOCAL cParam := PValue(1) > > nError := RunScriptFile( "colors.axp",,AXP_MIXED ) > DO CASE > CASE nError == AXPSE_NO_ERROR > ? "AXP script file successfully processed" > CASE nError == AXPSE_INPUT_FILE_NOT_FOUND > ? "AXP script file not found:", cAXPfile > CASE nError == AXPSE_CANNOT_OPEN_INPUT_FILE > ? "Unable to open AXP script file:", cAXPfile > CASE nError == AXPSE_CANNOT_OPEN_OUTPUT_FILE > ? "Unable to open output file:", cOutputFile > CASE nError == AXPSE_EXEC_ERROR > ? "Error while executing AXP script." > IF nMode == AXP_MIXED > ? "Check the output file", cOutputFile > ENDIF > CASE nError == AXPSE_MACHINE_NOT_READY > ? "AXP scripting engine cannot be started" > OTHERWISE > ? "AXP scripting engine returned with error " + var2char(nError) > ENDCASE > RETURN > PROCEDURE APPSYS > RETURN > > |