From ff49acb58fbf23bc2769f08054abe2a51f368321 Mon Sep 17 00:00:00 2001 From: Basile Burg Date: Fri, 15 May 2015 07:26:56 +0200 Subject: [PATCH] removed resource loader from main source because of http://bugs.freepascal.org/view.php?id=28086 --- lazproj/coedit.lpi | 7 ++++++- lazproj/coedit.lpr | 7 +++---- src/ce_sharedres.pas | 13 +++++++++++++ 3 files changed, 22 insertions(+), 5 deletions(-) create mode 100644 src/ce_sharedres.pas diff --git a/lazproj/coedit.lpi b/lazproj/coedit.lpi index 63dd1055..3040712a 100644 --- a/lazproj/coedit.lpi +++ b/lazproj/coedit.lpi @@ -135,7 +135,7 @@ - + @@ -329,6 +329,11 @@ + + + + + diff --git a/lazproj/coedit.lpr b/lazproj/coedit.lpr index ab17d654..2f67c118 100644 --- a/lazproj/coedit.lpr +++ b/lazproj/coedit.lpr @@ -7,14 +7,13 @@ uses cthreads, {$ENDIF}{$ENDIF} Interfaces, Forms, lazcontrols, runtimetypeinfocontrols, LResources, - ce_observer, ce_libman, ce_tools, ce_dcd, ce_main, ce_writableComponent, - ce_symstring, ce_staticmacro, ce_inspectors, ce_editoroptions, - ce_dockoptions, ce_shortcutseditor, ce_mru; + ce_sharedres, ce_observer, ce_libman, ce_tools, ce_dcd, ce_main, + ce_writableComponent, ce_symstring, ce_staticmacro, ce_inspectors, + ce_editoroptions, ce_dockoptions, ce_shortcutseditor, ce_mru; {$R *.res} begin - {$I ../src/ce_icons.inc} Application.Initialize; Application.CreateForm(TCEMainForm, CEMainForm); Application.Run; diff --git a/src/ce_sharedres.pas b/src/ce_sharedres.pas new file mode 100644 index 00000000..f8ea6d8d --- /dev/null +++ b/src/ce_sharedres.pas @@ -0,0 +1,13 @@ +unit ce_sharedres; + +interface + +uses + LResources; + +implementation + +initialization + {$I ../src/ce_icons.inc} +end. +