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.
|