OSDN Git Service

Delphi6Professional版だとユニット名が違うので条件コンパイルするようにした
authorhi_ <hi_>
Mon, 11 Aug 2003 14:49:10 +0000 (14:49 +0000)
committerhi_ <hi_>
Mon, 11 Aug 2003 14:49:10 +0000 (14:49 +0000)
Editor.pas
Giko.pas
GikoSystem.pas
Preview.pas

index 72b1f44..c3cec17 100644 (file)
@@ -5,7 +5,12 @@ interface
 uses
        Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms,
        Dialogs, StdCtrls, ComCtrls, ExtCtrls, ToolWin, Menus, OleCtrls,
-       SHDocVw_TLB, ActiveX, {HTTPApp,} YofUtils, IniFiles, StrUtils,
+{$IF Defined(DELPRO) }
+       SHDocVw,
+{$ELSE}
+       SHDocVw_TLB,
+{$IFEND}
+       ActiveX, {HTTPApp,} YofUtils, IniFiles, StrUtils,
        GikoSystem, GikoUtil, ImgList, Clipbrd, BoardGroup,
        IdAntiFreezeBase,       IdAntiFreeze, IdBaseComponent, IdComponent,
        IdTCPConnection, IdTCPClient, IdHTTP, ActnList, StdActns, IdIntercept,
index c66f593..5e5c76b 100644 (file)
--- a/Giko.pas
+++ b/Giko.pas
@@ -4,9 +4,16 @@ interface
 
 uses
        Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms,
-       OleCtrls,       SHDocVw_TLB, ComCtrls, ExtCtrls, Menus, StdCtrls, MMSystem,
+       OleCtrls,       ComCtrls, ExtCtrls, Menus, StdCtrls, MMSystem,
+{$IF Defined(DELPRO) }
+       SHDocVw,
+       MSHTML,
+{$ELSE}
+       SHDocVw_TLB,
+       MSHTML_TLB,
+{$IFEND}
        IdHTTP, ActiveX, Clipbrd, Buttons, ToolWin, {HTTPApp,} YofUtils, IdComponent,
-       ShellAPI, ImgList, ActnList, UrlMon, MSHTML_TLB, Tabs, IdGlobal, StrUtils,
+       ShellAPI, ImgList, ActnList, UrlMon, Tabs, IdGlobal, StrUtils,
        CommCtrl, IniFiles,
        GikoSystem, GikoUtil, Setting, BoardGroup, ThreadControl, ItemDownload,
        Editor, RoundData, RoundName, KeySetting, GikoPanel, Favorite, FavoriteAdd,
index 91849d2..ec354fb 100644 (file)
@@ -4,7 +4,14 @@ interface
 
 uses
        Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms,
-       ComCtrls, IniFiles, ShellAPI, ActnList, Math, SHDocVw_TLB, MSHTML_TLB,
+       ComCtrls, IniFiles, ShellAPI, ActnList, Math,
+{$IF Defined(DELPRO) }
+       SHDocVw,
+       MSHTML,
+{$ELSE}
+       SHDocVw_TLB,
+       MSHTML_TLB,
+{$IFEND}
        {HttpApp,} YofUtils, URLMon, IdGlobal, IdURI, {Masks,}
        Setting, BoardGroup, gzip, Dolib, bmRegExp;
 
index 1863a96..24aa8e8 100644 (file)
@@ -3,7 +3,13 @@ unit Preview;
 interface
 uses
        Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms,
-       ActiveX, ShDocVw_TLB;
+       ActiveX, 
+{$IF Defined(DELPRO) }
+       SHDocVw
+{$ELSE}
+       SHDocVw_TLB
+{$IFEND}
+;
 
 type
        TPreviewBrowser = class(TWebBrowser)