IWCGIRunner not working with simple .bat cgi - Printable Version +- Atozed Forums (https://www.atozed.com/forums) +-- Forum: Atozed Software Products (https://www.atozed.com/forums/forum-1.html) +--- Forum: IntraWeb (https://www.atozed.com/forums/forum-3.html) +---- Forum: English (https://www.atozed.com/forums/forum-16.html) +----- Forum: IntraWeb General Discussion (https://www.atozed.com/forums/forum-4.html) +----- Thread: IWCGIRunner not working with simple .bat cgi (/thread-1240.html) |
IWCGIRunner not working with simple .bat cgi - cprmlao@hotmail.com - 09-14-2019 Hi, Alexandre, I am fighting with IWCGIRunner and until now it is the winner. I created a simple "test.bat" and I have used a click sync of a iwbutton(IWBTNACAO) . The test.bat file has this content: Code: @echo off echo Content-type: text/plain echo. echo. echo Hi ! echo Your IP ADDRESS is %REMOTE_ADDR% and your BROWSER is %HTTP_USER_AGENT%" First problem: IWCGIRunner is returning nothing. Second problem: When sending a response to browser with WriteString I get an AV of "replytype already set" Please, what is wrong? Code: procedure TF_MyForm.IWBTNACAOClick(Sender: TObject); RE: IWCGIRunner not working with simple .bat cgi - Alexandre Machado - 10-24-2019 I think this has been clarified in another thread |