亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? resfile_fmt.html

?? Delphi 資源文件的使用控件
?? HTML
字號:
<html>
<head>
<title>DelphiDabbler.com: Resource File Structure</title>
<style type="text/css">
<!--
.pascal-kw {font-family: "Courier New", Courier, mono; font-size: 10pt; font-weight: bold;}
.pascal-comment {font-family: "Courier New", Courier, mono; font-size: 10pt; color: blue;}
body {
	background-color : White;
	font-family : Verdana, Geneva, Arial, Helvetica, sans-serif;
	font-size : 10pt;
}
table {
	font-size : 10pt;
}
h1 {
	padding-bottom: 4px;
	text-align: center;
	background-color: #CCCCCC;
	border: 1px #999999 solid;
}
.bodytableframe {
	background-color : #CCCCCC;
	color : White;
}
.bodytablebody {
	background-color : White;
	color : Black;
}
-->
</style>
</head>
<body>
<h1>Resource File Structure Notes</h1>
<h2>Overview</h2>
<p>A 32 bit resource file is comprised as follows:</p>
<blockquote> 
	<table border="0" width="106" cellspacing="0" cellpadding="3">
		<tr> 
			<td align="center" style="border: 1px #999999 solid;">File header</td>
		</tr>
		<tr> 
			<td align="center" style="border: 1px #999999 solid; border-top: none;">Resource 1</td>
		</tr>
		<tr> 
			<td align="center" style="border: 1px #999999 solid; border-top: none;">Padding</td>
		</tr>
		<tr> 
			<td align="center" style="border: 1px #999999 solid; border-top: none;">Resource 2</td>
		</tr>
		<tr> 
			<td align="center" style="border: 1px #999999 solid; border-top: none;">Padding</td>
		</tr>
		<tr> 
			<td align="center" style="border-left: 1px #999999 dashed; border-right: 1px #999999 dashed;">- - -</td>
		</tr>
		<tr> 
			<td align="center" style="border: 1px #999999 solid;">Resource N</td>
		</tr>
		<tr>
			<td align="center" style="border: 1px #999999 solid; border-top: none;">Padding</td>
		</tr>
	</table>
</blockquote>
<h2>File Header</h2>
<p>The File header is a "pseudo-resource" that identifies the file as a 32 bit 
	resource file (rather than 16 bit). This is a 32 byte structure, the first 8 
	bytes of which are $00, $00, $00, $00, $20, $00, $00, $00.</p>
<h2>Resource Header</h2>
<p>Each resource is made up of a variable length header record followed the resource 
	data. The variable length header is made up of the following fields:</p>
<blockquote> 
  <pre>DataSize: DWORD;          <span class="pascal-comment">// size of resource data (excl end padding)</span>
HeaderSize: DWORD;<span class="pascal-comment">        // size of resource data header</span>
Type: Unicode or Ordinal;<span class="pascal-comment"> // type of resource</span>
Name: Unicode or Ordinal;<span class="pascal-comment"> // name of resource</span>
[Padding: Word];<span class="pascal-comment">          // optional padding to DWORD boundary</span>
DataVersion: DWORD;<span class="pascal-comment">       // version of the data resource</span>
MemoryFlags: Word;<span class="pascal-comment">        // describes the state of the resource</span>
LanguageId: Word;<span class="pascal-comment">         // language for the resource</span>
Version: DWORD;<span class="pascal-comment">           // user defined resource version</span>
Characteristics: DWORD;<span class="pascal-comment">   // user defined info about resource</span></pre>
</blockquote>
<p>Here is a description of the resource header fields.</p>
<table border="0" width="100%" cellspacing="1" cellpadding="3" class="bodytableframe">
	<tr> 
		<th valign="top">Field</th>
		<th valign="top">Description</th>
	</tr>
	<tr class="bodytablebody"> 
		<td valign="top"><em>DataSize</em></td>
		<td valign="top">The size of the resource data that follows the header in 
			bytes, excluding any padding that follows that data.</td>
	</tr>
	<tr class="bodytablebody"> 
		<td valign="top"><em>HeaderSize</em></td>
		<td valign="top">The size of the resource header record, including <em>DataSize</em> 
			and <em>HeaderSize</em> fields.</td>
	</tr>
	<tr class="bodytablebody"> 
		<td valign="top"><em>Type</em></td>
		<td valign="top">Variable length field that specifies the resource type either 
			as an ordinal value or as a Unicode string. If the first Word of Type is 
			$FFFF the second word is the ordinal value. Otherwise the value is a zero 
			terminated Unicode string. Ordinals less than 255 are reserved by Windows. 
			See below for a list of predefined resource types. </td>
	</tr>
	<tr class="bodytablebody"> 
		<td valign="top"><em>Name</em></td>
		<td valign="top">Variable length field that specifies the resource name either 
			as an ordinal value or as a Unicode string. If the first Word of Name is 
			$FFFF the second word is the ordinal value. Otherwise the value is a zero 
			terminated Unicode string. Note that some resources may not have string 
			names - for example string tables must have ordinal resource ids, all version 
			information resource I have seen have resource id 1 and the resource id 
			of an XP manifest is significant to the system.</td>
	</tr>
	<tr class="bodytablebody"> 
		<td valign="top"><em>[Padding]</em></td>
		<td valign="top">Optional padding to ensure the following fields begin on 
			a DWORD boundary.</td>
	</tr>
	<tr class="bodytablebody"> 
		<td valign="top"><em>DataVersion</em></td>
		<td valign="top">Determines the format of the information within the resource 
			header that follows. Often zero. Reserved for use by the system.</td>
	</tr>
	<tr class="bodytablebody"> 
		<td valign="top"><em>MemoryFlags</em></td>
		<td valign="top">A bitmask of flags that describe the state of the resource. 
			See the <code>RES_MF_XXX</code> flags described in the Constants section 
			for details.</td>
	</tr>
	<tr class="bodytablebody"> 
		<td valign="top"><em>LanguageID</em></td>
		<td valign="top">Specifies the language used for any strings in the resource 
			or 0 if language neutral. Bits 0-9 of this Word contain the primary language 
			ID while bits 11-15 contain the sub language ID (dialect or variation).</td>
	</tr>
	<tr class="bodytablebody"> 
		<td valign="top"><em>Version</em></td>
		<td valign="top">Stores custom version information - sometimes used by the 
			resource compiler. Ignored by the system and stripped out on linking into 
			the application.</td>
	</tr>
	<tr class="bodytablebody"> 
		<td valign="top"><em>Characteristics</em></td>
		<td valign="top">Stores custom information about the resource - sometimes 
			used by the resource compiler. Ignored by the system and stripped out on 
			linking into the application.</td>
	</tr>
</table>
<h3>Predefined Resource Types</h3>
<p>The following table lists the predefined resource types known at the time of 
	writing. <code>RT_HTML</code> and <code>RT_MANIFEST</code> are not defined in 
	Delphi's Windows unit.</p>
<table border="0" width="100%" cellspacing="1" cellpadding="3" class="bodytableframe">
	<tr> 
		<th valign="middle">Resource Name</th>
		<th align="center" valign="middle">Ordinal value</th>
		<th valign="middle">Description </th>
	</tr>
	<tr class="bodytablebody"> 
		<td valign="top"><code>RT_ACCELERATOR</code></td>
		<td align="center" valign="top"><code>9</code></td>
		<td valign="top">Accelerator table</td>
	</tr>
	<tr class="bodytablebody"> 
		<td valign="top"><code>RT_ANICURSOR</code></td>
		<td align="center" valign="top"><code>21</code></td>
		<td valign="top">Animated cursor</td>
	</tr>
	<tr class="bodytablebody"> 
		<td valign="top"><code>RT_ANIICON</code></td>
		<td align="center" valign="top"><code>22</code></td>
		<td valign="top">Animated icon</td>
	</tr>
	<tr class="bodytablebody"> 
		<td valign="top"><code>RT_BITMAP</code></td>
		<td align="center" valign="top"><code>2</code></td>
		<td valign="top">Bitmap resource</td>
	</tr>
	<tr class="bodytablebody"> 
		<td valign="top"><code>RT_CURSOR</code></td>
		<td align="center" valign="top"><code>1</code></td>
		<td valign="top">Hardware dependent cursor resource</td>
	</tr>
	<tr class="bodytablebody"> 
		<td valign="top"><code>RT_DIALOG</code></td>
		<td align="center" valign="top"><code>5</code></td>
		<td valign="top">Dialog box</td>
	</tr>
	<tr class="bodytablebody"> 
		<td valign="top"><code>RT_DLGINCLUDE</code></td>
		<td align="center" valign="top"><code>17</code></td>
		<td valign="top">Allows a resource editing tool to associate a string with 
			an .rc file. Typically, the string is the name of the header file that provides 
			symbolic names. The resource compiler parses the string but otherwise ignores 
			the value. For example: 
			<blockquote style="margin-top: 0px; margin-bottom: 0px;">
				<pre style="margin-top: 4px; margin-bottom: 0px;">/* file foo.dlg */
1 DLGINCLUDE "foo.h&quot;</pre>
			</blockquote>
		</td>
	</tr>
	<tr class="bodytablebody"> 
		<td valign="top"><code>RT_FONT</code></td>
		<td align="center" valign="top"><code>8</code></td>
		<td valign="top">Font resource</td>
	</tr>
	<tr class="bodytablebody"> 
		<td valign="top"><code>RT_FONTDIR</code></td>
		<td align="center" valign="top"><code>7</code></td>
		<td valign="top">Font directory resource</td>
	</tr>
	<tr class="bodytablebody"> 
		<td valign="top"><code>RT_GROUP_CURSOR</code></td>
		<td align="center" valign="top"><code>12</code></td>
		<td valign="top">Hardware independent cursor resource - refers to <code>RT_CURSOR</code></td>
	</tr>
	<tr class="bodytablebody"> 
		<td valign="top"><code>RT_GROUP_ICON</code></td>
		<td align="center" valign="top"><code>14</code></td>
		<td valign="top">Hardware independent icon resource - refers to <code>RT_ICON</code></td>
	</tr>
	<tr class="bodytablebody"> 
		<td valign="top"><code>RT_HTML</code></td>
		<td align="center" valign="top"><code>23</code></td>
		<td valign="top">HTML "Documents": .html, .gif, .css code etc.</td>
	</tr>
	<tr class="bodytablebody"> 
		<td valign="top"><code>RT_ICON</code></td>
		<td align="center" valign="top"><code>3</code></td>
		<td valign="top">Hardware dependant icon resource</td>
	</tr>
	<tr class="bodytablebody"> 
		<td valign="top"><code>RT_MANIFEST</code></td>
		<td align="center" valign="top"><code>24</code></td>
		<td valign="top">Side-by-side assembly XML manifest (Windows XP)</td>
	</tr>
	<tr class="bodytablebody"> 
		<td valign="top"><code>RT_MENU</code></td>
		<td align="center" valign="top"><code>4</code></td>
		<td valign="top">Menu resource</td>
	</tr>
	<tr class="bodytablebody"> 
		<td valign="top"><code>RT_MESSAGETABLE</code></td>
		<td align="center" valign="top"><code>11</code></td>
		<td valign="top">Message table entry</td>
	</tr>
	<tr class="bodytablebody"> 
		<td valign="top"><code>RT_PLUGPLAY</code></td>
		<td align="center" valign="top"><code>19</code></td>
		<td valign="top">Plug and play resource</td>
	</tr>
	<tr class="bodytablebody"> 
		<td valign="top"><code>RT_RCDATA</code></td>
		<td align="center" valign="top"><code>10</code></td>
		<td valign="top">Application or user defined resource - raw data</td>
	</tr>
	<tr class="bodytablebody"> 
		<td valign="top"><code>RT_STRING</code></td>
		<td align="center" valign="top"><code>6</code></td>
		<td valign="top">String table entry</td>
	</tr>
	<tr class="bodytablebody"> 
		<td valign="top"><code>RT_VERSION</code></td>
		<td align="center" valign="top"><code>16</code></td>
		<td valign="top">Version information</td>
	</tr>
	<tr class="bodytablebody"> 
		<td valign="top"><code>RT_VXD</code></td>
		<td align="center" valign="top"><code>20</code></td>
		<td valign="top">VXD</td>
	</tr>
</table>
<p>Note that the <code>RT_XXX</code> constants are not assigned the ordinal values 
	directly but are set using <em>MakeIntResource</em>. So, for example, <code>RT_VERSION 
	= MakeIntResource(16)</code>.</p>
<h3>Resource Data</h3>
<p>Each new resource starts on a DWORD boundary, so there may be padding bytes 
	following the end of each resource if the resource data is not a multiple of 
	4 bytes in length.</p>
<p>The format of the actual resource data depends on the resource type. We do 
	not go into that detail here since this code only provides high-level access 
	to resources in a file and deals only with raw data.</p>
<h2>Credits / Bibliography</h2>
<p>Various documents were used in creating this document. Key documents were:</p>
<ul>
	<li>&quot;Win32 Binary Resource Formats&quot; by Floyd Rogers - text file edited 
		and released by Microsoft Developer Support as ResFmt.txt.</li>
	<li>&quot;Windows Resource (.RES) Files&quot; by Ray Lischner, <a href="http://www.tempest-sw.com/">Tempest 
		Software</a> - web page.</li>
	<li>&quot;Win32 Resource File Format&quot; by Marco Cocco, <a href="http://www.mdlive.com/d3k/">d3k 
		- The Artisan Of Ware</a> - web page.</li>
</ul>
<p style="border-top: 1px #CCCCCC solid; font-size: 8pt; padding-top: 4px;">The 
	original work in this document is copyright &copy; Peter Johnson, 2004. <a href="http://www.delphidabbler.com/">http://www.delphidabbler.com/</a>. 
	Please contact the author via the web site for permission to republish.</p>
</body>
</html>

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美一级在线免费| 色婷婷av一区二区三区大白胸 | 欧美日韩专区在线| 一区二区在线观看免费 | 一区二区免费在线| 欧洲生活片亚洲生活在线观看| 亚洲欧美成人一区二区三区| 欧美性猛交xxxxxxxx| 丝袜美腿亚洲一区| 久久综合九色综合97婷婷女人 | 免费高清不卡av| 精品国产91洋老外米糕| 国产jizzjizz一区二区| 亚洲同性同志一二三专区| 欧美视频在线不卡| 精品在线观看视频| 18欧美乱大交hd1984| 欧美精品一级二级| 国产成人在线观看| 亚洲三级电影网站| 91精品免费在线| 成人网在线免费视频| 一区二区三区国产精华| 欧美一卡二卡在线观看| 成人激情免费网站| 天天综合网 天天综合色| 欧美变态口味重另类| aa级大片欧美| 老司机午夜精品| 一区二区三区欧美在线观看| 日韩欧美国产综合在线一区二区三区 | 国产成人夜色高潮福利影视| 一区二区三区四区视频精品免费 | 日韩欧美国产不卡| 成人av午夜电影| 美女爽到高潮91| 亚洲免费色视频| 精品日韩av一区二区| 色视频成人在线观看免| 国产精一品亚洲二区在线视频| 亚洲自拍与偷拍| 国产精品免费av| 欧美一区二区三区视频在线| 91免费视频网| 国产成人综合网| 麻豆成人久久精品二区三区红| 亚洲三级电影网站| 中文字幕精品一区二区三区精品| 91精品国产色综合久久ai换脸| 91啪在线观看| 成人综合婷婷国产精品久久蜜臀| 琪琪久久久久日韩精品| 亚洲午夜视频在线| 亚洲精品少妇30p| 国产精品久久毛片av大全日韩| 99天天综合性| 欧美精品在线视频| 99v久久综合狠狠综合久久| 国模一区二区三区白浆| 日韩综合一区二区| 亚洲午夜激情网页| 亚洲美女电影在线| 国产精品福利在线播放| 国产欧美日韩在线| 精品电影一区二区三区| 日韩一区二区三区四区五区六区| 欧洲人成人精品| 一本到不卡精品视频在线观看| 国产成人福利片| 激情欧美日韩一区二区| 美女在线一区二区| 热久久久久久久| 偷拍日韩校园综合在线| 亚洲成人免费影院| 亚洲福利视频导航| 亚洲成av人**亚洲成av**| 亚洲综合一区在线| 亚洲国产精品精华液网站| 亚洲国产视频在线| 亚洲二区在线视频| 日韩影院免费视频| 蜜臀va亚洲va欧美va天堂| 美日韩一级片在线观看| 激情五月婷婷综合| 国产乱码精品一区二区三区五月婷| 精品夜夜嗨av一区二区三区| 国产一本一道久久香蕉| 国产成人精品三级| 91亚洲精品一区二区乱码| 一本久久a久久免费精品不卡| 欧美性一二三区| 91精品国产高清一区二区三区蜜臀| 91精品国产手机| 欧美精品一区二区三区在线| 国产亚洲欧美一级| 一区在线中文字幕| 亚洲图片欧美视频| 蜜桃久久久久久| 国产精品一二一区| 色一区在线观看| 欧美精品xxxxbbbb| www久久精品| 亚洲欧美电影一区二区| 午夜欧美大尺度福利影院在线看| 久久精品免费看| 成人av在线电影| 欧美日韩亚州综合| 精品99一区二区三区| 亚洲色图制服诱惑| 日韩电影一区二区三区四区| 国产一区二区三区免费看| 99久久精品一区| 91精品免费在线观看| 中文字幕av一区 二区| 亚洲福中文字幕伊人影院| 韩国成人精品a∨在线观看| 91丨九色丨尤物| 精品久久国产97色综合| 亚洲婷婷综合色高清在线| 蜜桃久久av一区| 色婷婷综合激情| 精品成a人在线观看| 亚洲一区二区视频在线| 国产福利91精品一区二区三区| 91久久精品一区二区三| 精品国产麻豆免费人成网站| 亚洲女人小视频在线观看| 精品一区二区在线免费观看| 色吊一区二区三区| 久久婷婷一区二区三区| 亚洲bt欧美bt精品| 成人高清视频在线| 精品女同一区二区| 亚洲国产精品久久不卡毛片 | 精品一区二区三区免费| 欧美又粗又大又爽| 国产欧美va欧美不卡在线| 奇米一区二区三区| 欧美午夜影院一区| 中文字幕日本乱码精品影院| 国产九色sp调教91| 日韩午夜在线观看视频| 一区二区久久久| 成人avav在线| 国产日产欧美一区| 蜜臀av在线播放一区二区三区| 欧美系列亚洲系列| 亚洲图片激情小说| 成人av片在线观看| 久久精品夜夜夜夜久久| 久久99精品久久只有精品| 欧美放荡的少妇| 亚洲国产成人tv| 91黄色免费版| 亚洲欧美国产77777| 北条麻妃国产九九精品视频| 久久精品一二三| 国产精品一区在线观看乱码 | 国产精品久久久久毛片软件| 狠狠色综合色综合网络| 欧美一区二区免费观在线| 亚洲mv在线观看| 欧美视频一二三区| 亚洲国产精品麻豆| 欧美中文字幕久久| 亚洲国产乱码最新视频| 欧美色网一区二区| 图片区小说区国产精品视频| 欧美日韩极品在线观看一区| 亚洲成人资源在线| 91麻豆精品国产91久久久 | 国产美女精品人人做人人爽| 精品电影一区二区| 国产成人夜色高潮福利影视| 国产亚洲欧美在线| 不卡一卡二卡三乱码免费网站| 国产精品国产三级国产| av一二三不卡影片| 亚洲狠狠丁香婷婷综合久久久| 色94色欧美sute亚洲线路一ni| 亚洲一区免费观看| 欧美疯狂做受xxxx富婆| 蜜臀av性久久久久蜜臀aⅴ四虎| 日韩午夜精品视频| 国产精品一区免费在线观看| 中文在线资源观看网站视频免费不卡| av不卡一区二区三区| 夜夜夜精品看看| 日韩三级av在线播放| 国产精品91xxx| 亚洲女性喷水在线观看一区| 777久久久精品| 国产精品一二三四区| 亚洲精品欧美专区| 欧美一区二区视频在线观看 | 日韩理论片中文av| 欧美日韩久久不卡| 久久精品国产一区二区三| 中文字幕av一区 二区| 欧美在线你懂得|