From 8637a2f1463982edcff0b4246cc049626018a1d1 Mon Sep 17 00:00:00 2001 From: Mark van Renswoude Date: Fri, 6 Jan 2006 08:11:17 +0000 Subject: [PATCH] Fixed: Delphi 7 compatibility --- Packages/D7/UnitSwitcher.cfg | 39 ++++++++++ Packages/D7/UnitSwitcher.dof | 143 +++++++++++++++++++++++++++++++++++ Packages/D7/UnitSwitcher.dpk | 40 ++++++++++ Packages/D7/UnitSwitcher.res | Bin 0 -> 5056 bytes Source/UnSwClient.pas | 62 ++++++++++++++- Source/UnSwDialog.dfm | 12 ++- Source/UnSwObjects.pas | 18 +++-- 7 files changed, 300 insertions(+), 14 deletions(-) create mode 100644 Packages/D7/UnitSwitcher.cfg create mode 100644 Packages/D7/UnitSwitcher.dof create mode 100644 Packages/D7/UnitSwitcher.dpk create mode 100644 Packages/D7/UnitSwitcher.res diff --git a/Packages/D7/UnitSwitcher.cfg b/Packages/D7/UnitSwitcher.cfg new file mode 100644 index 0000000..50eb60d --- /dev/null +++ b/Packages/D7/UnitSwitcher.cfg @@ -0,0 +1,39 @@ +-$A8 +-$B- +-$C+ +-$D+ +-$E- +-$F- +-$G+ +-$H+ +-$I+ +-$J- +-$K- +-$L+ +-$M- +-$N+ +-$O+ +-$P+ +-$Q- +-$R- +-$S- +-$T- +-$U- +-$V+ +-$W- +-$X+ +-$YD +-$Z1 +-cg +-AWinTypes=Windows;WinProcs=Windows;DbiTypes=BDE;DbiProcs=BDE;DbiErrs=BDE; +-H+ +-W+ +-M +-$M16384,1048576 +-K$00400000 +-LE"..\..\Lib\D7" +-LN"c:\program files\borland\delphi7\Projects\Bpl" +-Z +-w-UNSAFE_TYPE +-w-UNSAFE_CODE +-w-UNSAFE_CAST diff --git a/Packages/D7/UnitSwitcher.dof b/Packages/D7/UnitSwitcher.dof new file mode 100644 index 0000000..effad62 --- /dev/null +++ b/Packages/D7/UnitSwitcher.dof @@ -0,0 +1,143 @@ +[FileVersion] +Version=7.0 +[Compiler] +A=8 +B=0 +C=1 +D=1 +E=0 +F=0 +G=1 +H=1 +I=1 +J=0 +K=0 +L=1 +M=0 +N=1 +O=1 +P=1 +Q=0 +R=0 +S=0 +T=0 +U=0 +V=1 +W=0 +X=1 +Y=1 +Z=1 +ShowHints=1 +ShowWarnings=1 +UnitAliases=WinTypes=Windows;WinProcs=Windows;DbiTypes=BDE;DbiProcs=BDE;DbiErrs=BDE; +NamespacePrefix= +SymbolDeprecated=1 +SymbolLibrary=1 +SymbolPlatform=1 +UnitLibrary=1 +UnitPlatform=1 +UnitDeprecated=1 +HResultCompat=1 +HidingMember=1 +HiddenVirtual=1 +Garbage=1 +BoundsError=1 +ZeroNilCompat=1 +StringConstTruncated=1 +ForLoopVarVarPar=1 +TypedConstVarPar=1 +AsgToTypedConst=1 +CaseLabelRange=1 +ForVariable=1 +ConstructingAbstract=1 +ComparisonFalse=1 +ComparisonTrue=1 +ComparingSignedUnsigned=1 +CombiningSignedUnsigned=1 +UnsupportedConstruct=1 +FileOpen=1 +FileOpenUnitSrc=1 +BadGlobalSymbol=1 +DuplicateConstructorDestructor=1 +InvalidDirective=1 +PackageNoLink=1 +PackageThreadVar=1 +ImplicitImport=1 +HPPEMITIgnored=1 +NoRetVal=1 +UseBeforeDef=1 +ForLoopVarUndef=1 +UnitNameMismatch=1 +NoCFGFileFound=1 +MessageDirective=1 +ImplicitVariants=1 +UnicodeToLocale=1 +LocaleToUnicode=1 +ImagebaseMultiple=1 +SuspiciousTypecast=1 +PrivatePropAccessor=1 +UnsafeType=0 +UnsafeCode=0 +UnsafeCast=0 +[Linker] +MapFile=0 +OutputObjs=0 +ConsoleApp=1 +DebugInfo=0 +RemoteSymbols=0 +MinStackSize=16384 +MaxStackSize=1048576 +ImageBase=4194304 +ExeDescription=UnitSwitcher +[Directories] +OutputDir= +UnitOutputDir= +PackageDLLOutputDir=..\..\Lib\D7 +PackageDCPOutputDir= +SearchPath= +Packages= +Conditionals= +DebugSourceDirs= +UsePackages=0 +[Parameters] +RunParams= +HostApplication= +Launcher= +UseLauncher=0 +DebugCWD= +[Language] +ActiveLang= +ProjectLang= +RootDir= +[Version Info] +IncludeVerInfo=1 +AutoIncBuild=0 +MajorVer=1 +MinorVer=0 +Release=0 +Build=0 +Debug=0 +PreRelease=0 +Special=0 +Private=0 +DLL=0 +Locale=1043 +CodePage=1252 +[Version Info Keys] +CompanyName= +FileDescription= +FileVersion=1.0.0.0 +InternalName= +LegalCopyright= +LegalTrademarks= +OriginalFilename= +ProductName= +ProductVersion=1.0.0.0 +Comments= +[HistoryLists\hlUnitAliases] +Count=1 +Item0=WinTypes=Windows;WinProcs=Windows;DbiTypes=BDE;DbiProcs=BDE;DbiErrs=BDE; +[HistoryLists\hlBPLOutput] +Count=2 +Item0=..\..\Lib\D7 +Item1=..\Lib\D7 diff --git a/Packages/D7/UnitSwitcher.dpk b/Packages/D7/UnitSwitcher.dpk new file mode 100644 index 0000000..ace3c7d --- /dev/null +++ b/Packages/D7/UnitSwitcher.dpk @@ -0,0 +1,40 @@ +package UnitSwitcher; + +{$R *.res} +{$ALIGN 8} +{$ASSERTIONS ON} +{$BOOLEVAL OFF} +{$DEBUGINFO ON} +{$EXTENDEDSYNTAX ON} +{$IMPORTEDDATA ON} +{$IOCHECKS ON} +{$LOCALSYMBOLS ON} +{$LONGSTRINGS ON} +{$OPENSTRINGS ON} +{$OPTIMIZATION ON} +{$OVERFLOWCHECKS OFF} +{$RANGECHECKS OFF} +{$REFERENCEINFO ON} +{$SAFEDIVIDE OFF} +{$STACKFRAMES OFF} +{$TYPEDADDRESS OFF} +{$VARSTRINGCHECKS ON} +{$WRITEABLECONST OFF} +{$MINENUMSIZE 1} +{$IMAGEBASE $400000} +{$DESCRIPTION 'UnitSwitcher'} +{$LIBSUFFIX 'D7'} +{$DESIGNONLY} +{$IMPLICITBUILD OFF} + +requires + rtl, + designide; + +contains + UnSwClient in '..\..\Source\UnSwClient.pas', + UnSwObjects in '..\..\Source\UnSwObjects.pas', + UnSwDialog in '..\..\Source\UnSwDialog.pas' {frmUnSwDialog}, + UnSwFilters in '..\..\Source\UnSwFilters.pas'; + +end. diff --git a/Packages/D7/UnitSwitcher.res b/Packages/D7/UnitSwitcher.res new file mode 100644 index 0000000000000000000000000000000000000000..9f716014ef5fa480e86c4caec3875580f31cdcdb GIT binary patch literal 5056 zcmbW5zi%8>5XZ-fC8)qssA$eY2q7295$P91h!hD3B3#;)1tCNvP83W*wf;{o1wv>G z{sXkGkt>uE$tmbbNr70tpP4tidzW*tS!r(Gk9qU`e&@Y?cRDk(ZCT%ksk!w0w3YK0 z6|>=UTU(blGw5wKwq@_hHoT>V*8JaRUeE3D@X*?(aZfw#hsTd?Ud@e|@H>e5()nF|eueP-nH1gM0Noj(p1F_4hT@e`nx|epIrKM_Qk+(%xtu}t4+RhYLsm?O? z#5C7-tR+UK{B!zUtOp+qG>7iidc|Zv@Rhrf3HRvtBacUa+qB-N-qvUzh^fI&4)}t* zge?yAHJA8kB{$xAbVWNkH8!t9x5sob1_%1=zhf_iJ%guwEk9#j=(lF79ef#c4SODW zp8fh`aOi@Azq5_<$gBomXY9BiFzLh9@fV6AwwABLsE_McKG(Z|gW8?2F|E(q_b1w~ z?ujJ_IDr}10*E^Cxb+&v6HYem@)FP>;Io(SjJ&zd>u^pmySiU$5Wm zuUw8ibH<4 zvt||F`?~A=yCX4X$^4NKwL;dZ59hqIko|?U+ z+^-5_Cag-BeSdVZf6dHxWqtpOeQfXBb^Ap2f!&bLXZpVe|7Pg_jO}gzSA%~+HtgVn z`9B+?hVOs(sVP&?i=wRwKo{PQ33g)tJjDw=vWWijGi z|M<-ZZrXu8vb(l#ckG({J-e;U`}UPRP}I*JvujuEvb`&{SHuBEZz$V_v_7!=_R#he z|GiZ2sdsw-*zuUmc~vvt+82)XP?&eMc7KT7wU-s0v9}caNYP`=WqU{HX^9Wd1CQMo z_PrGbZ#n))n!n?-uze_=sJ&xfYh^sabBz035qtKf*4>wXWZ#HMJ`sDP{{1