Einzelnen Beitrag anzeigen

mjustin

Registriert seit: 14. Apr 2008
3.005 Beiträge
 
Delphi 2009 Professional
 
#2

AW: Webserveranwendung: EXE ruft ISAPI

  Alt 22. Aug 2014, 11:08
Delphi-Quellcode:
    @DelborFotoGalery := GetProcAddress(Handle, 'HttpExtensionProc'); // ): DWORD
    if @DelborFotoGalery <> nil then begin
      result := DelborFotoGalery(AContext,ARequestInfo, AResponseInfo);

    end;
Die Argumente der ISAPI HttpExtensionProc und die Indy Parameter (AContext,ARequestInfo, AResponseInfo) sind völlig inkompatibel. Das wird so nie funktionieren. Indy HTTP Request- und Responseobjekte lassen sich nicht einfach in eine ISAPI DLL "einpflanzen"
Michael Justin
habarisoft.com
  Mit Zitat antworten Zitat