Sorry I didn't respond sooner, I've been away from Email for a
few days.
Robert Meek wrote:
Hi Stephen,
Yes, I've set up packages before so that they work with newer
versions, however in this case the one and only problem is that it requires
'Dsgnintf' after ver 6 of Delphi. Before that it requires 'designide'. Is
there a replacement file I can use for this? Do you have any idea what I
can look for in the Delphi units that might do the job in D2007?
Actually that should be the other way around. DesignIDE was
instituted in D6 and applies thereafter, I'd have to presume
D2007 uses it as well.
As long as the main product version .INC file is properly updated
for Delphi 2007, it should (FLW) address the issue you allude to.
And speaking of D2007, I'm just a little confused about the
currently available versions. When I purchased D2007, I did so directly
from Borland and received the RAD Pro Studio version 11.0.2627.5503. But on
the web sites and blogs I see references to D2007 that was released without
Vista compatibility. Mine has a Vista dialogs component set, yet they speak
of one which doesn't have it included.
Mainly the only reason I want to know about this is to find the
correct updates and/or patches if any have been released. When I go to the
update site of Borland's, they have 3 patches listed, but I'm not sure if
they are referring to my version or a different one!
Can't help you there. Sorry.
HTH
Stephen Posey
[EMAIL PROTECTED]
{$I compdefn.inc}
{$ifdef DEL345}
DsgnIntf
{$else}
DesignIntf, DesignEditors, VCLEditors, RTLConsts
{$endif}
{
=========================================================
file: compdefn.inc
-- global compiler declarations and settings for SlipKid libraries
==========================================================
copyright 2001, 2006 SLiPKid Software
=========================================================
}
(******************************************************************************)
(* Delphi Free Stuff Include File. This file is used for all my components *)
(* to create some standard defines. This will help reduce headaches when new *)
(* versions of Delphi and C++Builder are released, among other things. *)
(******************************************************************************)
(* Brad Stowers: [EMAIL PROTECTED] *)
(* Delphi Free Stuff: http://www.delphifreestuff.com/ *)
(* June 27, 2001 *)
(******************************************************************************)
(* Usage: Add the following line to the top of your unit file: *)
(* {$I DFS.INC} *)
(******************************************************************************)
(* *)
(* Complete Boolean Evaluation compiler directive is turned off by including *)
(* this file. *)
(* The $ObjExportAll directive is turned on if compiling with C++Builder 3 or *)
(* higher. This is required for Delphi components built in Builder with *)
(* run-time packages. *)
(* *)
(* Here is a brief explanation of what each of the defines mean: *)
(* DELPHI_FREE_STUFF : Always defined when DFS.INC is included *)
(* DFS_WIN16 : Compilation target is 16-bit Windows *)
(* DFS_WIN32 : Compilation target is 32-bit Windows *)
(* DFS_USEDEFSHLOBJ : The SHLOBJ.PAS version contains no none errors. *)
(* Delphi 2.0x and C++Builder 1.0x shipped with a *)
(* version of SHLOBJ.PAS that had many nasty errors. *)
(* See my web site in the Hints section for how to fix *)
(* DFS_NO_COM_CLEANUP : The version of the compiler being used does not *)
(* require COM objects to be released; it is done *)
(* automatically when they go "out of scope". *)
(* DFS_NO_DSGNINTF : Delphi 6 pretty much kills off the DsgnIntf unit *)
(* for good. Split into a couple of new units. *)
(* DFS_DESIGNERSELECTIONS: IDesignerSelections replaced TDesignerSelectionList*)
(* DFS_IPROPERTY : IProperty introduced for design-time stuff. *)
(* DFS_COMPILER_1 : Delphi 1.0 is the compiler. Note that C++B 1.0 *)
(* does NOT cause this to be defined. It is really *)
(* the 2.0 compiler. *)
(* DFS_COMPILER_1_UP : Delphi 1.0x or higher, or C++B 1.0x or higher is *)
(* the compiler. *)
(* DFS_COMPILER_2 : Delphi 2.0x or C++B 1.0x is the compiler. *)
(* DFS_COMPILER_2_UP : Delphi 2.0x or higher, or C++B 1.0x or higher is *)
(* the compiler. *)
(* DFS_COMPILER_3 : Delphi 3.0x or C++B 3.0x is the compiler. *)
(* DFS_COMPILER_3_UP : Delphi 3.0x or higher, or C++B 3.0x or higher is *)
(* the compiler. *)
(* DFS_COMPILER_4 : Delphi 4.0x or C++B 4.0x is the compiler. *)
(* DFS_COMPILER_4_UP : Delphi 4.0x or higher, or C++B 4.0x or higher is *)
(* the compiler. *)
(* DFS_COMPILER_5 : Delphi 5.0x or C++B 5.0x is the compiler. *)
(* DFS_COMPILER_5_UP : Delphi 5.0x or higher, or C++B 5.0x or higher is *)
(* the compiler. *)
(* DFS_COMPILER_6 : Delphi 6.0x or C++B 6.0x is the compiler. *)
(* DFS_COMPILER_6_UP : Delphi 6.0x or higher, or C++B 6.0x or higher is *)
(* the compiler. *)
(* DFS_UNKNOWN_COMPILER : No sense could be made of the compiliation *)
(* environment. *)
(* DFS_CPPB : Any version of C++B is being used. *)
(* DFS_CPPB_1 : C++B v1.0x is being used. *)
(* DFS_CPPB_3 : C++B v3.0x is being used. *)
(* DFS_CPPB_3_UP : C++B v3.0x or higher is being used. *)
(* DFS_CPPB_4 : C++B v4.0x is being used. *)
(* DFS_CPPB_4_UP : C++B v4.0x or higher is being used. *)
(* DFS_CPPB_5 : C++B v5.0x is being used. *)
(* DFS_CPPB_5_UP : C++B v5.0x or higher is being used. *)
(* DFS_DELPHI : Any version of Delphi is being used. *)
(* DFS_DELPHI_1 : Delphi v1.0x is being used. *)
(* DFS_DELPHI_2 : Delphi v2.0x is being used. *)
(* DFS_DELPHI_2_UP : Delphi v2.0x or higher is being used. *)
(* DFS_DELPHI_3 : Delphi v3.0x is being used. *)
(* DFS_DELPHI_3_UP : Delphi v3.0x or higher is being used. *)
(* DFS_DELPHI_4 : Delphi v4.0x is being used. *)
(* DFS_DELPHI_4_UP : Delphi v4.0x or higher is being used. *)
(* DFS_DELPHI_5 : Delphi v5.0x is being used. *)
(* DFS_DELPHI_5_UP : Delphi v5.0x or higher is being used. *)
(* DFS_DELPHI_6 : Delphi v6.0x is being used. *)
(* DFS_DELPHI_6_UP : Delphi v6.0x or higher is being used. *)
(******************************************************************************)
{$ifndef LINUX}
{$ifdef WIN32}
{ Global compiler defines for Delphi and C++Builder on 32-bit Windows }
{$A+} {Word Align Data}
{$B-} {Incomplete boolean evaluation}
{$H+} {Huge string support}
{$P+} {Open string parameters permitted}
{$Q+} {Overflow check}
{$R+} {Range-Checking}
{$S+} {Stack-Overflow Checking}
{$T-} {Typed @ check}
{$V-} {Var strings}
{$J+} {Writeable Typed Constants}
{$X+} {Extended syntax}
{$else} { 16-Bit Delphi 1 }
{ Global compiler defines for Delphi 1.0 }
{$A-} {Byte Align Data}
{$B-} {Incomplete boolean evaluation}
{$F-} {Far calls}
{$G+} {80286 code}
{$Q-} {Overflow check}
{$R-} {Range check}
{$S-} {Stack check}
{$T-} {Typed @ check}
{$V-} {Var strings}
{$endif WIN32}
{$else} { LINUX Defined }
{$endif LINUX}
{ Delphi 1 }
{
Note: Delphi version numbers start at 80 because the Delphi compiler is
considered to be the descendant of Turbo Pascal. TP version numbers ended at 7.
}
{$ifdef VER80}
{$define DELPHI}
{$define DELPHI1}
{$define COMPILER1}
{$define BITS16}
{$define MSWINDOWS}
{$define WIN16}
{$endif VER80}
{ Delphi 2 }
{$ifdef VER90}
{$define DELPHI}
{$define DELPHI2}
{$define COMPILER2}
{$define BITS32}
{$define MSWINDOWS}
{$endif VER90}
{ C++Builder 1 }
{
Note: despite the version number, CPPB1 was a 32-bit compiler and
shared more with Delphi 2 than with Delphi 1
}
{$ifdef VER93}
{$define CBuilder}
{$define CPPB1}
{$define COMPILER2} { C++B v1 compiler is really v2 }
{$define BITS32}
{ C++B 1 has the correct SHLOBJ.H, but SHLOBJ.PAS has errors so this isn't
defined }
{.$DEFINE USEDEFSHLOBJ}
{$define MSWINDOWS}
{$endif VER93}
{ Delphi 3 }
{$ifdef VER100}
{$define DELPHI}
{$define DELPHI3}
{$define COMPILER3}
{$define MSWINDOWS}
{$endif VER100}
{ C++Builder 3 }
{$ifdef VER110}
{$define CBuilder}
{$define CPPB3}
{$define COMPILER3}
{$ObjExportAll On}
{$define MSWINDOWS}
{$endif VER110}
{ Delphi 4 }
{$IFDEF VER120}
{$define DELPHI}
{$define DELPHI4}
{$define COMPILER4}
{$define MSWINDOWS}
{$ENDIF}
{ C++Builder 4 }
{$ifdef VER125}
{$define CBuilder}
{$define CPPB4}
{$define COMPILER4}
{$ObjExportAll On}
{$define MSWINDOWS}
{$endif VER125}
{ Delphi 5 }
{$ifdef VER130}
{$ifdef BCB}
{$define CBuidler}
{$define CPPB5}
{$ObjExportAll On}
{$else}
{$define DELPHI}
{$define DELPHI5}
{$endif}
{$define COMPILER5}
{$define MSWINDOWS}
{$endif VER130}
{ C++Builder 5 }
{$ifdef VER135}
{$define CBuidler}
{$define CPPB5}
{$ObjExportAll On}
{$define MSWINDOWS}
{$endif VER135}
{$ifdef VER140}
{$define COMPILER6}
{$ifdef WIN32}
{$ifndef BCB}
{$define DELPHI}
{$define DELPHI6}
{$else}
{$DEFINE CBuilder}
{$define CPPB6}
{$ObjExportAll On}
{$endif}
{$else}
{ LINUX/KYLIX Determination }
{$ifdef conditionalexpressions}
{$if Declared(RTLVersion) and (RTLVersion = 14)}
{$define KYLIX}
{$define KYLIX1}
{$ifend}
{$if Declared(RTLVersion) and (RTLVersion = 14.2)}
{$define KYLIX}
{$define KYLIX2}
{$ifend}
{$if Declared(RTLVersion) and (RTLVersion = 14.5)}
{$define KYLIX}
{$define KYLIX3}
{$ifend}
{$endif conditionalexpressions}
{$endif WIN32}
{$endif VER140}
{$ifdef VER150}
{$define DELPHI}
{$define DELPHI7}
{$define COMPILER7}
{$endif}
{$ifdef VER160}
{$define DELPHI}
{$define DELPHI8}
{$define COMPILER8}
{$endif VER160}
{$ifdef VER170}
{$define DELPHI}
{$define DELPHI2005}
{$define COMPILER9}
{$endif VER170}
{$ifdef VER180}
{$define DELPHI}
{$define DELPHI2006}
{$define COMPILER10}
{$endif VER180}
{$ifdef CLR} { Common Language Runtime, only defined for .NET compilation }
{$define DELPHIDOTNET}
{$ifdef DELPHI8}
{$define DELPHIDOTNET1}
{$endif DELPHI8}
{$ifdef DELPHI2005}
{$define DELPHIDOTNET2}
{$endif DELPHI2005}
{$ifdef DELPHI2006}
{$define DELPHIDOTNET3}
{$endif DELPHI2006}
{$endif CLR}
{$ifdef Win32}
{ compiler level defines }
{$ifdef COMPILER2}
{$define DELPHI2PLUS}
{$define CPPB2PLUS}
{$define VERSION2PLUS}
{$define DEL12}
{$endif COMPILER2}
{$ifdef COMPILER3}
{$define DELPHI2PLUS}
{$define DELPHI3PLUS}
{$define CPPB2PLUS}
{$define CPPB3PLUS}
{$define VERSION2PLUS}
{$define VERSION3PLUS}
{$define DEL345}
{$endif COMPILER3}
{$ifdef COMPILER4}
{$define DELPHI2PLUS}
{$define DELPHI3PLUS}
{$define DELPHI4PLUS}
{$define CPPB2PLUS}
{$define CPPB3PLUS}
{$define CPPB4PLUS}
{$define VERSION2PLUS}
{$define VERSION3PLUS}
{$define VERSION4PLUS}
{$define DEL345}
{$endif COMPILER4}
{$ifdef COMPILER5}
{$define DELPHI2PLUS}
{$define DELPHI3PLUS}
{$define DELPHI4PLUS}
{$define DELPHI5PLUS}
{$define CPPB2PLUS}
{$define CPPB3PLUS}
{$define CPPB4PLUS}
{$define CPPB5PLUS}
{$define VERSION2PLUS}
{$define VERSION3PLUS}
{$define VERSION4PLUS}
{$define VERSION5PLUS}
{$define DEL345}
{$endif COMPILER5}
{$ifdef COMPILER6}
{$define DELPHI2PLUS}
{$define DELPHI3PLUS}
{$define DELPHI4PLUS}
{$define DELPHI5PLUS}
{$define DELPHI6PLUS}
{$define CPPB2PLUS}
{$define CPPB3PLUS}
{$define CPPB4PLUS}
{$define CPPB5PLUS}
{$define CPPB6PLUS}
{$define VERSION2PLUS}
{$define VERSION3PLUS}
{$define VERSION4PLUS}
{$define VERSION5PLUS}
{$define VERSION6PLUS}
{$endif COMPILER6}
{$ifdef COMPILER7}
{$define DELPHI2PLUS}
{$define DELPHI3PLUS}
{$define DELPHI4PLUS}
{$define DELPHI5PLUS}
{$define DELPHI6PLUS}
{$define DELPHI7PLUS}
{$define CPPB2PLUS}
{$define CPPB3PLUS}
{$define CPPB4PLUS}
{$define CPPB5PLUS}
{$define CPPB6PLUS}
{$define CPPB7PLUS}
{$define VERSION2PLUS}
{$define VERSION3PLUS}
{$define VERSION4PLUS}
{$define VERSION5PLUS}
{$define VERSION6PLUS}
{$define VERSION7PLUS}
{$endif COMPILER7}
{$ifdef COMPILER8}
{$define DELPHI2PLUS}
{$define DELPHI3PLUS}
{$define DELPHI4PLUS}
{$define DELPHI5PLUS}
{$define DELPHI6PLUS}
{$define DELPHI7PLUS}
{$define DELPHI8PLUS}
{$define VERSION2PLUS}
{$define VERSION3PLUS}
{$define VERSION4PLUS}
{$define VERSION5PLUS}
{$define VERSION6PLUS}
{$define VERSION7PLUS}
{$define VERSION8PLUS}
{$endif COMPILER8}
{$ifdef COMPILER9}
{$define DELPHI2PLUS}
{$define DELPHI3PLUS}
{$define DELPHI4PLUS}
{$define DELPHI5PLUS}
{$define DELPHI6PLUS}
{$define DELPHI7PLUS}
{$define DELPHI8PLUS}
{$define DELPHI9PLUS}
{$define VERSION2PLUS}
{$define VERSION3PLUS}
{$define VERSION4PLUS}
{$define VERSION5PLUS}
{$define VERSION6PLUS}
{$define VERSION7PLUS}
{$define VERSION8PLUS}
{$define VERSION9PLUS}
{$endif COMPILER9}
{$ifdef CPPB3456}
// C++ Builder requires this if you use Delphi components in run-time
packages.
{$ObjExportAll On}
{$endif}
{$endif WIN32}
{$ifdef LINUX}
{$define QT}
{$define CLX}
{$define KYLIX}
{$ifdef VER150}
{$define COMPILER7}
{$define KYLIX3}
{$endif}
{$ifdef KYLIX1}
{$define KYLIX1PLUS}
{$endif}
{$ifdef KYLIX2}
{$define KYLIX1PLUS}
{$define KYLIX2PLUS}
{$endif}
{$ifdef KYLIX3}
{$define KYLIX1PLUS}
{$define KYLIX2PLUS}
{$define KYLIX3PLUS}
{$endif}
{$endif LINUX}
{$ifndef CPPB}
{$ifndef DELPHI}
{$ifndef KYLIX}
{ Don't know what it is. New version? Old Turbo Compiler? Alternative
Compiler? }
{$define UNKNOWNCOMPILER}
{$endif}
{$endif}
{$endif}
{$IFNDEF LINUX}
{$IFNDEF WIN32}
{$IFDEF VER80}
{$DEFINE WIN16} { Delphi 1.0, 16-Bit Windows }
{$ENDIF}
{$ENDIF}
{$ENDIF}
{$IFDEF VERSION4PLUS}
{$DEFINE HasLongWord} { D4 and above have a true LongWord type }
{$DEFINE HasInt64 } { D4 and above have a 64-bit Integer }
{$ENDIF}
{$IFDEF LINUX}
{$DEFINE HasLongWord} { Kylix has a true LongWord type }
{$DEFINE HasInt64 } { Kylix has a 64-bit Integer }
{$ENDIF}
{$IFDEF VERSION2PLUS}
{$IFNDEF VERSION3PLUS}
{$DEFINE VERSION2ONLY}
{$ENDIF}
{$ENDIF}
{$IFDEF VERSION3PLUS}
{$IFNDEF VERSION4PLUS}
{$DEFINE VERSION3ONLY}
{$ENDIF}
{$ENDIF}
{$IFDEF VERSION4PLUS}
{$IFNDEF VERSION5PLUS}
{$DEFINE VERSION4ONLY}
{$ENDIF}
{$ENDIF}
{$IFDEF VERSION5PLUS}
{$IFNDEF VERSION6PLUS}
{$DEFINE VERSION5ONLY}
{$ENDIF}
{$ENDIF}
{$IFDEF VERSION6PLUS}
{$IFNDEF VERSION7PLUS}
{$DEFINE VERSION6ONLY}
{$ENDIF}
{$ENDIF}
{$IFDEF VERSION7PLUS}
{$IFNDEF VERSION8PLUS}
{$DEFINE VERSION7ONLY}
{$ENDIF}
{$ENDIF}
{$IFDEF VERSION8PLUS}
{$IFNDEF VERSION9PLUS}
{$DEFINE VERSION8ONLY}
{$ENDIF}
{$ENDIF}
{ string type defines}
{$undef HUGESTRINGS}
{$undef WIDESTRINGS}
{$undef PASCALSTRINGS}
{$define PASCALSTRINGS} {255-character strings under Win16}
{$ifdef WIN32}
{$define WIDESTRINGS}
{$ifopt H+}
{$define HUGESTRINGS} {Huge strings under WIN32}
{$undef PASCALSTRINGS}
{$else}
{$define PASCALSTRINGS} {255-character strings under WIN32}
{$undef HUGESTRINGS}
{$endif}
{$endif WIN32}
{$IFDEF VERSION6PLUS}
// Delphi 6 pretty much kills off the DsgnIntf unit for good.
{$DEFINE NO_DSGNINTF}
{$DEFINE DESIGNERSELECTIONS}
{$DEFINE IPROPERTY}
{$ENDIF}
_______________________________________________
Delphi mailing list -> Delphi@elists.org
http://www.elists.org/mailman/listinfo/delphi