mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-19 16:40:54 +02:00
examples: convert an example to FPC resources
git-svn-id: trunk@43034 -
This commit is contained in:
parent
2298883178
commit
d51facc7e3
4
.gitattributes
vendored
4
.gitattributes
vendored
@ -4793,9 +4793,7 @@ examples/widestringstreaming/widestringstreaming.lpr svneol=native#text/plain
|
|||||||
examples/xmlreader/TestXMLReder.ico -text svneol=unset#image/ico
|
examples/xmlreader/TestXMLReder.ico -text svneol=unset#image/ico
|
||||||
examples/xmlreader/TestXMLReder.lpi svneol=native#text/plain
|
examples/xmlreader/TestXMLReder.lpi svneol=native#text/plain
|
||||||
examples/xmlreader/TestXMLReder.lpr svneol=native#text/plain
|
examples/xmlreader/TestXMLReder.lpr svneol=native#text/plain
|
||||||
examples/xmlreader/TestXMLReder.lrs svneol=native#text/plain
|
examples/xmlreader/TestXMLReder.res -text
|
||||||
examples/xmlreader/TestXMLReder.manifest svneol=native#text/plain
|
|
||||||
examples/xmlreader/TestXMLReder.rc svneol=native#text/plain
|
|
||||||
examples/xmlreader/test.xml svneol=native#text/plain
|
examples/xmlreader/test.xml svneol=native#text/plain
|
||||||
examples/xmlreader/testxmlreaderunit.lfm svneol=native#text/plain
|
examples/xmlreader/testxmlreaderunit.lfm svneol=native#text/plain
|
||||||
examples/xmlreader/testxmlreaderunit.pas svneol=native#text/plain
|
examples/xmlreader/testxmlreaderunit.pas svneol=native#text/plain
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
<?xml version="1.0"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<CONFIG>
|
<CONFIG>
|
||||||
<ProjectOptions>
|
<ProjectOptions>
|
||||||
<Version Value="9"/>
|
<Version Value="9"/>
|
||||||
@ -9,6 +9,7 @@
|
|||||||
<SessionStorage Value="InIDEConfig"/>
|
<SessionStorage Value="InIDEConfig"/>
|
||||||
<MainUnit Value="0"/>
|
<MainUnit Value="0"/>
|
||||||
<Title Value="TestXMLReder"/>
|
<Title Value="TestXMLReder"/>
|
||||||
|
<ResourceType Value="res"/>
|
||||||
<UseXPManifest Value="True"/>
|
<UseXPManifest Value="True"/>
|
||||||
<Icon Value="0"/>
|
<Icon Value="0"/>
|
||||||
</General>
|
</General>
|
||||||
|
@ -7,13 +7,11 @@ uses
|
|||||||
cthreads,
|
cthreads,
|
||||||
{$ENDIF}{$ENDIF}
|
{$ENDIF}{$ENDIF}
|
||||||
Interfaces, // this includes the LCL widgetset
|
Interfaces, // this includes the LCL widgetset
|
||||||
Forms, TestXMLReaderUnit, LResources
|
Forms, TestXMLReaderUnit;
|
||||||
{ you can add units after this };
|
|
||||||
|
|
||||||
{$IFDEF WINDOWS}{$R TestXMLReder.rc}{$ENDIF}
|
{$R *.res}
|
||||||
|
|
||||||
begin
|
begin
|
||||||
{$I TestXMLReder.lrs}
|
|
||||||
Application.Initialize;
|
Application.Initialize;
|
||||||
Application.CreateForm(TXMLRederForm, XMLRederForm);
|
Application.CreateForm(TXMLRederForm, XMLRederForm);
|
||||||
Application.Run;
|
Application.Run;
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -1,17 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
|
||||||
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
|
|
||||||
<assemblyIdentity version="1.0.0.0" processorArchitecture="*" name="CompanyName.ProductName.YourApp" type="win32"/>
|
|
||||||
<description>Your application description here.</description>
|
|
||||||
<dependency>
|
|
||||||
<dependentAssembly>
|
|
||||||
<assemblyIdentity type="win32" name="Microsoft.Windows.Common-Controls" version="6.0.0.0" processorArchitecture="*" publicKeyToken="6595b64144ccf1df" language="*"/>
|
|
||||||
</dependentAssembly>
|
|
||||||
</dependency>
|
|
||||||
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v3">
|
|
||||||
<security>
|
|
||||||
<requestedPrivileges>
|
|
||||||
<requestedExecutionLevel level="asInvoker" uiAccess="false"/>
|
|
||||||
</requestedPrivileges>
|
|
||||||
</security>
|
|
||||||
</trustInfo>
|
|
||||||
</assembly>
|
|
@ -1,7 +0,0 @@
|
|||||||
#define RT_MANIFEST 24
|
|
||||||
#define CREATEPROCESS_MANIFEST_RESOURCE_ID 1
|
|
||||||
#define ISOLATIONAWARE_MANIFEST_RESOURCE_ID 2
|
|
||||||
#define ISOLATIONAWARE_NOSTATICIMPORT_MANIFEST_RESOURCE_ID 3
|
|
||||||
|
|
||||||
CREATEPROCESS_MANIFEST_RESOURCE_ID RT_MANIFEST "TestXMLReder.manifest"
|
|
||||||
MAINICON ICON "TestXMLReder.ico"
|
|
BIN
examples/xmlreader/TestXMLReder.res
Normal file
BIN
examples/xmlreader/TestXMLReder.res
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user