examples: convert an example to FPC resources

git-svn-id: trunk@43034 -
This commit is contained in:
paul 2013-09-29 09:52:42 +00:00
parent 2298883178
commit d51facc7e3
7 changed files with 5 additions and 5269 deletions

4
.gitattributes vendored
View File

@ -4793,9 +4793,7 @@ examples/widestringstreaming/widestringstreaming.lpr svneol=native#text/plain
examples/xmlreader/TestXMLReder.ico -text svneol=unset#image/ico
examples/xmlreader/TestXMLReder.lpi svneol=native#text/plain
examples/xmlreader/TestXMLReder.lpr svneol=native#text/plain
examples/xmlreader/TestXMLReder.lrs svneol=native#text/plain
examples/xmlreader/TestXMLReder.manifest svneol=native#text/plain
examples/xmlreader/TestXMLReder.rc svneol=native#text/plain
examples/xmlreader/TestXMLReder.res -text
examples/xmlreader/test.xml svneol=native#text/plain
examples/xmlreader/testxmlreaderunit.lfm svneol=native#text/plain
examples/xmlreader/testxmlreaderunit.pas svneol=native#text/plain

View File

@ -1,4 +1,4 @@
<?xml version="1.0"?>
<?xml version="1.0" encoding="UTF-8"?>
<CONFIG>
<ProjectOptions>
<Version Value="9"/>
@ -9,6 +9,7 @@
<SessionStorage Value="InIDEConfig"/>
<MainUnit Value="0"/>
<Title Value="TestXMLReder"/>
<ResourceType Value="res"/>
<UseXPManifest Value="True"/>
<Icon Value="0"/>
</General>

View File

@ -7,13 +7,11 @@ uses
cthreads,
{$ENDIF}{$ENDIF}
Interfaces, // this includes the LCL widgetset
Forms, TestXMLReaderUnit, LResources
{ you can add units after this };
Forms, TestXMLReaderUnit;
{$IFDEF WINDOWS}{$R TestXMLReder.rc}{$ENDIF}
{$R *.res}
begin
{$I TestXMLReder.lrs}
Application.Initialize;
Application.CreateForm(TXMLRederForm, XMLRederForm);
Application.Run;

File diff suppressed because it is too large Load Diff

View File

@ -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>

View File

@ -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"

Binary file not shown.