[View Borland Home Page][View Product List][Search This Web Site][View Available Downloads][Join Borland Online][Enter Discussion Area][Send Email To Webmaster]
Delphi Devsupport

Frequently Asked Questions

Multi-Threaded ISAPI DLLs

Question:

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

Answer:

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.

Back To Faq Index
Borland Online
Trademarks & Copyright © 1997 Borland International, Inc.