General
About our company
Contact us
Products
InterDelphi Library
Screenshots
How to use it
InterDelphi Manager
Screenshots
How to use it
InterDelphi Run
Screenshots
How to use it
Download
Support
Online FAQs
Submit Query
License
Online Order
Training
Training Information
Request Training
InterDelphi Run - Howto

This tutorial will teach you on how to use the IDRun to test your ISAPI extensions.
1. Setup the IDE to run IDRun
On the Delphi main menu select Run/Parameters...
On the host field type the executable filename and at the parameters inform the two URLs: HTML and WML

For exemple:
Host Application:= "C:\INETPUB\IDRUN.EXE"
Parameters:= "html=/cgi-bin/interdp.dll/default"
2. Compile and Execute the application
Now just write your application and press F9 to compile and execute it.
That's all!
4. Prepare the Actions
Add one action and set the PathInfo property to "/form1". You may add more actions here!
Select the first action and create a new event handler for OnAction as: (don't forget to add the new form unit on the uses clause)
uses unit1;

procedure TWebModule1.WebModule1WebActionItem1Action ( );
begin
  with TForm1.Create(self) do
  begin
    Response.Content:=InterProducer1.Content;
    Free;
  end;
end;
5. Compile the your application
Compile your application and copy the "project1.dll" to the /scripts directory of your webserver (you may use the output compiler directory).
Go to the browser and type http://localhost/scripts/project1.dll/form1
Congratulations, you have finished your first ISAPI application!
Now you may want to edit, modify and re-compile your application.
Well, now it's time to introduce the InterDelphi ISAPI Manager.