Step 2 - Create new Process class


If you didn't do the first Step by Step guide go through Step 1 and 2 of that guide first to create the new project then come back here to add a new process.

Start up the Management Console and click on the Create New Process Class link. Fill out the Wizard as follows:

This will add a new process class called DevProcess to our existing Web Connection application. We'll create a new PRG file DevProcess with a DevProcess class that we'll use to handle our requests with.

We'll also want to create a new Web virtual directory and script map (.dp) for this applet. Point the wc.dll back to the same wc.dll created in the previous Step by Step example. Each Web Connection server should use a single wc.dll instance.

Click Finish to let the Wizard create the class, the virtual directory and copy the files into it.

Let's make sure to test the new applet by:

  1. Start the WebDemo server with DO WEBDEMOMAIN.PRG
  2. Browse to http://localhost/DevProcess/default.htm

You should see the demo page. Click on the Helloworld.wp script map link which brings up the default test page for this application.


  Last Updated: 10/9/2001 | © West Wind Technologies, 2008