Главная страница | назад

Article #15657: Multi-Threaded ISAPI DLLs

 Question and Answer Database

FAQ657D.txt - Multi-Threaded ISAPI DLLs

Category   :Internet/WEB
Platform   :All-32Bit
Product    :

Why can't my ISAPI DLL created in Delphi 3 handle multiple connections.

Although the ISAPI DLL wizard in Delphi 3 creates a DLL that is
multi-thread safe, there is an omission in the source code which
fails to set a flag telling the application that the DLL is 
multi-thread safe. This shortcoming can be overcome by simply 
adding the line:

IsMultiThread := TRUE;

as the first line of your DPR's begin-end block.

4/2/99 11:43:51 AM

Last Modified: 01-SEP-99