removed resource loader from main source

because of http://bugs.freepascal.org/view.php?id=28086
This commit is contained in:
Basile Burg 2015-05-15 07:26:56 +02:00
parent 291b5bad3c
commit ff49acb58f
3 changed files with 22 additions and 5 deletions

View File

@ -135,7 +135,7 @@
<PackageName Value="LCL"/> <PackageName Value="LCL"/>
</Item6> </Item6>
</RequiredPackages> </RequiredPackages>
<Units Count="36"> <Units Count="37">
<Unit0> <Unit0>
<Filename Value="coedit.lpr"/> <Filename Value="coedit.lpr"/>
<IsPartOfProject Value="True"/> <IsPartOfProject Value="True"/>
@ -329,6 +329,11 @@
<Filename Value="..\src\ce_writablecomponent.pas"/> <Filename Value="..\src\ce_writablecomponent.pas"/>
<IsPartOfProject Value="True"/> <IsPartOfProject Value="True"/>
</Unit35> </Unit35>
<Unit36>
<Filename Value="..\src\ce_sharedres.pas"/>
<IsPartOfProject Value="True"/>
<UnitName Value="ce_sharedres"/>
</Unit36>
</Units> </Units>
</ProjectOptions> </ProjectOptions>
<CompilerOptions> <CompilerOptions>

View File

@ -7,14 +7,13 @@ uses
cthreads, cthreads,
{$ENDIF}{$ENDIF} {$ENDIF}{$ENDIF}
Interfaces, Forms, lazcontrols, runtimetypeinfocontrols, LResources, Interfaces, Forms, lazcontrols, runtimetypeinfocontrols, LResources,
ce_observer, ce_libman, ce_tools, ce_dcd, ce_main, ce_writableComponent, ce_sharedres, ce_observer, ce_libman, ce_tools, ce_dcd, ce_main,
ce_symstring, ce_staticmacro, ce_inspectors, ce_editoroptions, ce_writableComponent, ce_symstring, ce_staticmacro, ce_inspectors,
ce_dockoptions, ce_shortcutseditor, ce_mru; ce_editoroptions, ce_dockoptions, ce_shortcutseditor, ce_mru;
{$R *.res} {$R *.res}
begin begin
{$I ../src/ce_icons.inc}
Application.Initialize; Application.Initialize;
Application.CreateForm(TCEMainForm, CEMainForm); Application.CreateForm(TCEMainForm, CEMainForm);
Application.Run; Application.Run;

13
src/ce_sharedres.pas Normal file
View File

@ -0,0 +1,13 @@
unit ce_sharedres;
interface
uses
LResources;
implementation
initialization
{$I ../src/ce_icons.inc}
end.