diff --git a/Source/BuildPackages_D17.groupproj b/Source/BuildPackages_D17.groupproj
new file mode 100644
index 0000000..9b00d4d
--- /dev/null
+++ b/Source/BuildPackages_D17.groupproj
@@ -0,0 +1,48 @@
+
+
+ {EB482A50-3627-4F5E-8890-2151D4C8BFBD}
+
+
+
+
+
+
+
+
+
+
+ Default.Personality.12
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Source/PascalScript_Core_D17.dpk b/Source/PascalScript_Core_D17.dpk
new file mode 100644
index 0000000..a694694
--- /dev/null
+++ b/Source/PascalScript_Core_D17.dpk
@@ -0,0 +1,79 @@
+package PascalScript_Core_D17;
+
+{$R *.res}
+{$IFDEF IMPLICITBUILDING This IFDEF should not be used by users}
+{$ALIGN 8}
+{$ASSERTIONS ON}
+{$BOOLEVAL OFF}
+{$DEBUGINFO ON}
+{$EXTENDEDSYNTAX ON}
+{$IMPORTEDDATA ON}
+{$IOCHECKS ON}
+{$LOCALSYMBOLS ON}
+{$LONGSTRINGS ON}
+{$OPENSTRINGS ON}
+{$OPTIMIZATION OFF}
+{$OVERFLOWCHECKS OFF}
+{$RANGECHECKS OFF}
+{$REFERENCEINFO ON}
+{$SAFEDIVIDE OFF}
+{$STACKFRAMES ON}
+{$TYPEDADDRESS OFF}
+{$VARSTRINGCHECKS ON}
+{$WRITEABLECONST OFF}
+{$MINENUMSIZE 1}
+{$IMAGEBASE $400000}
+{$DEFINE DEBUG}
+{$ENDIF IMPLICITBUILDING}
+{$DESCRIPTION 'RemObjects Pascal Script - Core Package'}
+{$DESIGNONLY}
+{$IMPLICITBUILD OFF}
+
+requires
+ rtl,
+ vcl,
+ dbrtl;
+
+contains
+ uPSC_extctrls in 'uPSC_extctrls.pas',
+ uPSC_forms in 'uPSC_forms.pas',
+ uPSC_graphics in 'uPSC_graphics.pas',
+ uPSC_menus in 'uPSC_menus.pas',
+ uPSC_std in 'uPSC_std.pas',
+ uPSC_stdctrls in 'uPSC_stdctrls.pas',
+ uPSCompiler in 'uPSCompiler.pas',
+ uPSComponent in 'uPSComponent.pas',
+ uPSComponent_COM in 'uPSComponent_COM.pas',
+ uPSComponent_Controls in 'uPSComponent_Controls.pas',
+ uPSComponent_DB in 'uPSComponent_DB.pas',
+ uPSComponent_Default in 'uPSComponent_Default.pas',
+ uPSComponent_Forms in 'uPSComponent_Forms.pas',
+ uPSComponent_StdCtrls in 'uPSComponent_StdCtrls.pas',
+ uPSDebugger in 'uPSDebugger.pas',
+ uPSDisassembly in 'uPSDisassembly.pas',
+ uPSPreProcessor in 'uPSPreProcessor.pas',
+ uPSR_buttons in 'uPSR_buttons.pas',
+ uPSR_classes in 'uPSR_classes.pas',
+ uPSR_comobj in 'uPSR_comobj.pas',
+ uPSR_controls in 'uPSR_controls.pas',
+ uPSR_dateutils in 'uPSR_dateutils.pas',
+ uPSR_DB in 'uPSR_DB.pas',
+ uPSR_dll in 'uPSR_dll.pas',
+ uPSR_extctrls in 'uPSR_extctrls.pas',
+ uPSR_forms in 'uPSR_forms.pas',
+ uPSR_graphics in 'uPSR_graphics.pas',
+ uPSR_menus in 'uPSR_menus.pas',
+ uPSR_std in 'uPSR_std.pas',
+ uPSR_stdctrls in 'uPSR_stdctrls.pas',
+ uPSRuntime in 'uPSRuntime.pas',
+ uPSUtils in 'uPSUtils.pas',
+ uPSC_buttons in 'uPSC_buttons.pas',
+ uPSC_classes in 'uPSC_classes.pas',
+ uPSC_comobj in 'uPSC_comobj.pas',
+ uPSC_controls in 'uPSC_controls.pas',
+ uPSC_dateutils in 'uPSC_dateutils.pas',
+ uPSC_DB in 'uPSC_DB.pas',
+ uPSC_dll in 'uPSC_dll.pas',
+ PascalScript_Core_Reg in 'PascalScript_Core_Reg.pas';
+
+end.
diff --git a/Source/PascalScript_Core_D17.dproj b/Source/PascalScript_Core_D17.dproj
new file mode 100644
index 0000000..50cc4b4
--- /dev/null
+++ b/Source/PascalScript_Core_D17.dproj
@@ -0,0 +1,205 @@
+
+
+ {EA463298-00FA-42B3-87EB-DD289B924EA0}
+ PascalScript_Core_D17.dpk
+ True
+ Debug
+ DCC32
+ 14.2
+ VCL
+ Win32
+ Package
+ 3
+
+
+ true
+
+
+ true
+ Base
+ true
+
+
+ true
+ Base
+ true
+
+
+ true
+ Base
+ true
+
+
+ true
+ Base
+ true
+
+
+ true
+ Cfg_2
+ true
+ true
+
+
+ rtl;dbrtl;$(DCC_UsePackage)
+ 673
+ CompanyName=RemObjects Software;FileDescription=;FileVersion=3.0.29.673;InternalName=;LegalCopyright=;LegalTrademarks=;OriginalFilename=;ProductName=Pascal Script;ProductVersion=3.0.0.0;Comments=;CompileDate=Friday, March 21, 2008 1:24 PM
+ 1033
+ 3
+ System;Xml;Data;Datasnap;Web;Soap;Vcl;Vcl.Imaging;Vcl.Touch;Vcl.Samples;Vcl.Shell;Winapi;$(DCC_Namespace)
+ true
+ 29
+ 00400000
+ true
+ true
+ RemObjects Pascal Script - Core Package
+ true
+ false
+ true
+ false
+ false
+ false
+ false
+
+
+ ..\Dcu\D16\win64
+ ..\Dcu\D16\win64;$(DCC_UnitSearchPath)
+ ..\Dcu\D16\win64
+ ..\Dcu\D16\win64
+ System.Win;Data.Win;Datasnap.Win;Web.Win;Soap.Win;Xml.Win;$(DCC_Namespace)
+ CompanyName=;FileDescription=;FileVersion=1.0.0.0;InternalName=;LegalCopyright=;LegalTrademarks=;OriginalFilename=;ProductName=;ProductVersion=1.0.0.0;Comments=
+ vcl;$(DCC_UsePackage)
+
+
+ System.Win;$(DCC_Namespace)
+ ..\Dcu\D16\win32
+ ..\Dcu\D16\win32;$(DCC_UnitSearchPath)
+ ..\Dcu\D16\win32
+ ..\Dcu\D16\win32
+ vcl;PascalScript_Core_D16;$(DCC_UsePackage)
+
+
+ false
+ RELEASE;$(DCC_Define)
+ 0
+ false
+
+
+ DEBUG;$(DCC_Define)
+ false
+ true
+
+
+ true
+
+
+
+ MainSource
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Cfg_2
+ Base
+
+
+ Base
+
+
+ Cfg_1
+ Base
+
+
+
+
+ Delphi.Personality.12
+ Package
+
+
+
+
+
+ True
+ False
+ 3
+ 0
+ 29
+ 673
+ False
+ False
+ False
+ False
+ False
+ 1033
+ 1252
+
+
+ RemObjects Software
+
+ 3.0.29.673
+
+
+
+
+ Pascal Script
+ 3.0.0.0
+
+ Friday, March 21, 2008 1:24 PM
+
+
+ Microsoft Office 2000 Sample Automation Server Wrapper Components
+ Microsoft Office XP Sample Automation Server Wrapper Components
+
+
+
+ True
+ True
+
+
+ 12
+
+
+
diff --git a/Source/PascalScript_Core_D17.res b/Source/PascalScript_Core_D17.res
new file mode 100644
index 0000000..cbd3d2c
Binary files /dev/null and b/Source/PascalScript_Core_D17.res differ
diff --git a/Source/PascalScript_RO_D17.dpk b/Source/PascalScript_RO_D17.dpk
new file mode 100644
index 0000000..267153e
--- /dev/null
+++ b/Source/PascalScript_RO_D17.dpk
@@ -0,0 +1,48 @@
+package PascalScript_RO_D17;
+
+{$R *.res}
+{$IFDEF IMPLICITBUILDING This IFDEF should not be used by users}
+{$ALIGN 8}
+{$ASSERTIONS ON}
+{$BOOLEVAL OFF}
+{$DEBUGINFO ON}
+{$EXTENDEDSYNTAX ON}
+{$IMPORTEDDATA ON}
+{$IOCHECKS ON}
+{$LOCALSYMBOLS ON}
+{$LONGSTRINGS ON}
+{$OPENSTRINGS ON}
+{$OPTIMIZATION OFF}
+{$OVERFLOWCHECKS OFF}
+{$RANGECHECKS OFF}
+{$REFERENCEINFO ON}
+{$SAFEDIVIDE OFF}
+{$STACKFRAMES ON}
+{$TYPEDADDRESS OFF}
+{$VARSTRINGCHECKS ON}
+{$WRITEABLECONST OFF}
+{$MINENUMSIZE 1}
+{$IMAGEBASE $400000}
+{$DEFINE DEBUG}
+{$ENDIF IMPLICITBUILDING}
+{$DESCRIPTION 'RemObjects Pascal Script - RemObjects SDK Integration'}
+{$IMPLICITBUILD OFF}
+
+requires
+ rtl,
+ IndyCore,
+ IndySystem,
+ IndyProtocols,
+ PascalScript_Core_D17,
+ RemObjects_Core_D17,
+ RemObjects_Indy_D17,
+ dbrtl,
+ vcl,
+ vclx;
+
+contains
+ PascalScript_RO_Reg in 'PascalScript_RO_Reg.pas',
+ uROPSServerLink in 'uROPSServerLink.pas',
+ uROPSImports in 'uROPSImports.pas';
+
+end.
diff --git a/Source/PascalScript_RO_D17.dproj b/Source/PascalScript_RO_D17.dproj
new file mode 100644
index 0000000..bf00d7b
--- /dev/null
+++ b/Source/PascalScript_RO_D17.dproj
@@ -0,0 +1,172 @@
+
+
+ {5DF52809-FD88-4459-9EE6-7D9C833B66C6}
+ PascalScript_RO_D17.dpk
+ True
+ Debug
+ DCC32
+ 13.4
+ none
+ Win32
+ Package
+ 3
+
+
+ true
+
+
+ true
+ Base
+ true
+
+
+ true
+ Base
+ true
+
+
+ true
+ Base
+ true
+
+
+ true
+ Base
+ true
+
+
+ true
+ Cfg_2
+ true
+ true
+
+
+ true
+ Cfg_2
+ true
+ true
+
+
+ System;Xml;Data;Datasnap;Web;Soap;Winapi;$(DCC_Namespace)
+ true
+ 1033
+ CompanyName=RemObjects Software;FileDescription=;FileVersion=3.0.6.442;InternalName=;LegalCopyright=;LegalTrademarks=;OriginalFilename=;ProductName=Pascal Script;ProductVersion=3.0.0.0;Comments=;CompileDate=Tuesday, March 21, 2006 1:32 PM
+ 3
+ 6
+ 442
+ true
+ 00400000
+ true
+ RemObjects Pascal Script - RemObjects SDK 5.0 Integration
+ true
+ false
+ true
+ false
+ false
+ false
+ false
+
+
+ System.Win;Data.Win;Datasnap.Win;Web.Win;Soap.Win;Xml.Win;$(DCC_Namespace)
+ CompanyName=;FileDescription=;FileVersion=1.0.0.0;InternalName=;LegalCopyright=;LegalTrademarks=;OriginalFilename=;ProductName=;ProductVersion=1.0.0.0;Comments=
+
+
+ ..\Dcu\D17\win32;..\..\RemObjects SDK for Delphi\Dcu\D17\win32;$(DCC_UnitSearchPath)
+ ..\Dcu\D17\win32
+ ..\Dcu\D17\win32
+ ..\Dcu\D17\win32
+
+
+ false
+ RELEASE;$(DCC_Define)
+ 0
+ false
+
+
+ DEBUG;$(DCC_Define)
+ false
+ true
+
+
+ true
+
+
+ RemObjects Pascal Script - RemObjects SDK Integration
+
+
+
+ MainSource
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Cfg_2
+ Base
+
+
+ Base
+
+
+ Cfg_1
+ Base
+
+
+
+
+ Delphi.Personality.12
+ Package
+
+
+
+ PascalScript_RO_D17.dpk
+
+
+
+ True
+ False
+ 3
+ 0
+ 6
+ 442
+ False
+ False
+ False
+ False
+ False
+ 1033
+ 1252
+
+
+ RemObjects Software
+
+ 3.0.6.442
+
+
+
+
+ Pascal Script
+ 3.0.0.0
+
+ Tuesday, March 21, 2006 1:32 PM
+
+
+
+ True
+ True
+
+
+ 12
+
+
+
diff --git a/Source/PascalScript_RO_D17.res b/Source/PascalScript_RO_D17.res
new file mode 100644
index 0000000..50c00fc
Binary files /dev/null and b/Source/PascalScript_RO_D17.res differ
diff --git a/Source/eDefines.inc b/Source/eDefines.inc
index 7b6e481..78453f6 100644
--- a/Source/eDefines.inc
+++ b/Source/eDefines.inc
@@ -503,6 +503,60 @@
{$ENDIF}
+{ defines for Delphi XE3 }
+{$IFDEF VER240}
+ {$DEFINE VER140UP}
+ {$DEFINE DELPHI}
+
+ {$DEFINE DELPHI16}
+ {$DEFINE DELPHI1UP}
+ {$DEFINE DELPHI2UP}
+ {$DEFINE DELPHI3UP}
+ {$DEFINE DELPHI4UP}
+ {$DEFINE DELPHI5UP}
+ {$DEFINE DELPHI6UP}
+ {$DEFINE DELPHI7UP}
+ {$DEFINE DELPHI9UP}
+ {$DEFINE DELPHI10UP}
+ {$DEFINE DELPHI11UP}
+ {$DEFINE DELPHI12UP}
+ {$DEFINE DELPHI14UP}
+ {$DEFINE DELPHI15UP}
+ {$DEFINE DELPHI16UP}
+ {$DEFINE DELPHI17UP}
+
+ {$DEFINE DELPHIXE3}
+ {$DEFINE DELPHIXEUP}
+ {$DEFINE DELPHIXE2UP}
+ {$DEFINE DELPHIXE3UP}
+ {$DEFINE DELPHI2012}
+ {$DEFINE DELPHI2005UP}
+ {$DEFINE DELPHI2006UP}
+ {$DEFINE DELPHI2007UP}
+ {$DEFINE DELPHI2009UP}
+ {$DEFINE DELPHI2010UP}
+ {$DEFINE DELPHI2011UP}
+ {$DEFINE DELPHI2012UP}
+ {$DEFINE DELPHI2013UP}
+ {$DEFINE BDS}
+ {$DEFINE BDS9}
+ {$DEFINE BDS3UP}
+ {$DEFINE BDS4UP}
+ {$DEFINE BDS5UP}
+ {$DEFINE BDS6UP}
+ {$DEFINE BDS7UP}
+ {$DEFINE BDS8UP}
+ {$DEFINE BDS9UP}
+ {$DEFINE BDS10UP}
+ {$IFDEF CPUX64}
+ {$DEFINE 64BIT}
+ {$DEFINE CPU64}
+ {$ELSE}
+ {$DEFINE 32BIT}
+ {$DEFINE CPU32}
+ {$ENDIF}
+{$ENDIF}
+
{ defines for "Delphi for .NET" }
{$IFDEF CLR}