Hello,
I have developed a DLL (not a COM object) for my company that should be able to works if called by a program or by a script from IIS web site (in this case I'm using c#).
The DLL works fine if it is called by a executable (even if the executable is made in c#), but when it is called from the script inside IIS, the function LoadLibrary goes in an infinite “loop”.
In order to show this error is enough to put one AC component (is not important which, it can be sSkinManager or sPanel or sLabel, …) in the uses clause, even if the components are not used.
I also checked with a “clean” DLL but the problem is the same; I tried to compile the DLL with the “runtime package” option enabled, but nothing is changed.
If I remove any declarations of the AC components, all works fine.
Thank you in advanced.
OS: Windows 7 64 bit (but the problem is present also with other Windows, 32 bit and 64 bit)
AC: 7.66
Delphi: XE2 (with all the patches installed)