RTC Forums

Subscription => Support => Topic started by: wbroyles on May 06, 2014, 10:19:59 PM



Title: Running a Visual WebGUI ISAPI dll under RTC demo Web Server
Post by: wbroyles on May 06, 2014, 10:19:59 PM
Trying to run a Visual WebGUI system using the demo web server application. The index form is embedded in the DLL not sure how to specify this.
A normally link would look like this https://www.curopro.net/form1.ashx. Form1.ashx is our index form.

Any help on configuration would be helpful.

Thanks

Wade


Title: Re: Running a Visual WebGUI ISAPI dll under RTC demo Web Server
Post by: D.Tkalcec (RTC) on May 07, 2014, 09:14:43 AM
RTC Demo WebServer comes with an example Data Provider for handling ISAPI extensions, which is implemented in two units located inside the Demos\DataProviders folder.

In the rtcISAPIProvider unit, inside the ProviderCheckRequest method, all ISAPI DLL requests are accepted, the Request.FileName property is modified and the Request.Info[] parameters "Root", "DLL" and "PATH" are prepared for use by the ISAPI handling code, which is implemented in the rtcISAPI unit.

The default implementation expects you to specify an extension for ISAPI DLLs and include the relative path to the DLL along with the name of the DLL when sending a request to the Server. If you want the DLL to be accessible through the root URI, you need to change that behavior in the rtcISAPIProvider unit.

Please note that the implementation for handling ISAPI extensions, as well as the WebServer Demo Project, are just examples. They are not part of the SDK, so you should make your own copy of all the files used in that Project, including files from the "DataProviders" folder, and modify them to suit your needs.

Best Regards,
Danijel Tkalcec