Newsgroups : Borland : borland.public.delphi.internet.winsock : 2007 Feb : Indy 10 DevSnap and WebApplicaiton
| Subject: | Indy 10 DevSnap and WebApplicaiton |
| Posted by: | "Bear" (be..@nobody.com) |
| Date: | Tue, 27 Feb 2007 10:26:58 |
Hi,
When I compile an old WebApplication with Indy 10 Dev snap,
the IDE will say
"[Pascal Fatal Error] SockApp.pas(14): F1026 File not found:
'IndySockTransport.dcu'"
Delphi Web Application is based on INDY, how to fix this?
(There is no use if I only comment "IndySockTransport,")
Is there an Indy 10 Dev Installer?
Thanks
Bear
===================================================================
{****************************************************************}
{ }
{ Borland Delphi Visual Component Library }
{ }
{ Copyright (c) 2000-2002 Borland Software Corporation }
{ }
{****************************************************************}
unit SockApp;
interface
uses
SockHTTP, Classes, IdTCPConnection, IdTCPServer;
type
TStartMode = (smNormal, smRegServer, smUnregServer);
TWebAppSockObjectFactory = class(TObject)
private
FClassName: string;
FStartMode: TStartMode;
function GetProgID: string;
function GetFileName: string;
procedure Initialize;
public
procedure UpdateRegistry(Register: Boolean);
constructor Create(const ClassName: string);
property ProgID: string read GetProgID;
property StartMode: TStartMode read FStartMode;
property FileName: string read GetFileName;
end;
implementation
uses SysUtils, WebReq, WebCntxt, SockRequestInterpreter, SockTransport,
IndySockTransport, SockAppReg, SockAppNotify;