How to call a Delphi DLL in ASP
Dear All,
How to call a DLL written in Delphi in an ASP page?
Any special installation needed on the IIS server?
Thanks.
library CheckValDLL;
uses
SysUtils,
Classes, ComServ;
{$R *.RES}
function CheckVal(const ALoginID: String): Boolean; stdcall;
begin
///// do something....
end;
exports
CheckVal,
DllGetClassObject,
DllCanUnloadNow,
DllRegisterServer,
DllUnregisterServer;
begin
end.
|