Mirror

Why can't my ISAPI DLL created in Delphi 3 handle multiple connections (Views: 101)


Problem/Question/Abstract:

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.

Copyright (c) 2001 Ernesto De Spirito
Visit: http://www.latiumsoftware.com/delphi-newsletter.php

<< Back to main page