📄 252.htm
字号:
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>CTerm非常精华下载</title>
</head>
<body bgcolor="#FFFFFF">
<table border="0" width="100%" cellspacing="0" cellpadding="0" height="577">
<tr><td width="32%" rowspan="3" height="123"><img src="DDl_back.jpg" width="300" height="129" alt="DDl_back.jpg"></td><td width="30%" background="DDl_back2.jpg" height="35"><p align="center"><a href="http://bbs.tsinghua.edu.cn"><font face="黑体"><big><big>水木清华★</big></big></font></a></td></tr>
<tr>
<td width="68%" background="DDl_back2.jpg" height="44"><big><big><font face="黑体"><p align="center"> Delphi编程 (BM: strayli FlyingBoy) </font></big></big></td></tr>
<tr>
<td width="68%" height="44" bgcolor="#000000"><font face="黑体"><big><big><p align="center"></big></big><a href="http://cterm.163.net"><img src="banner.gif" width="400" height="60" alt="banner.gif"border="0"></a></font></td>
</tr>
<tr><td width="100%" colspan="2" height="454"> <p align="center">[<a href="index.htm">回到开始</a>][<a href="185.htm">上一层</a>][<a href="253.htm">下一篇</a>]
<hr><p align="left"><small>发信人: Zeemon (塞下秋), 信区: Visual <br>
标 题: Delphi3(6) <br>
发信站: BBS 水木清华站 (Tue Nov 11 20:00:54 1997) <br>
<br>
下文由idol (沉默的人)在浙大BBS西子浣纱城站发表 <br>
<br>
Win32 shell extensions <br>
-------------------- <br>
Win32 shell extensions require that the threading model for the <br>
extension object be set to "Apartment" in the system registry. <br>
Since TComObjectFactory.UpdateRegistry doesn't make this entry <br>
automatically, you can do it manually by inserting the Value Name <br>
"ThreadingModel" with the Value "Apartment" under the CLSID key <br>
for your control in the registry. You can also override <br>
TComObjectFactory.UpdateRegistry to do this work for you; the <br>
following example code is for a Copy Hook shell extension: <br>
<br>
procedure TCopyHookFactory.UpdateRegistry(Register: Boolean); <br>
var <br>
ClsID: string; <br>
begin <br>
ClsID := GUIDToString(ClassID); <br>
inherited UpdateRegistry(Register); <br>
if Register then <br>
begin <br>
CreateRegKey('CLSID\' + ClsID, 'ThreadingModel', 'Apartment'); <br>
CreateRegKey('directory\shellex\CopyHookHandlers\' + ClassName, <br>
'', ClsID); <br>
end <br>
else <br>
DeleteRegKey('directory\shellex\CopyHookHandlers\' + ClassName); <br>
end; <br>
<br>
Using OpenGL <br>
------------ <br>
Applications or libraries that use the OpenGL graphics libraries <br>
must ensure that the 8087 control word is set to mask Overflow, <br>
Zero Divide, and Invalid Operation exceptions. This is done <br>
automatically in the OPENGL unit, but if your application does <br>
not use the OPENGL unit (for example, if you are using an ActiveX <br>
control that employs OpenGL), you can do this by including the <br>
following line in the initialization code of a unit: <br>
<br>
Set8087CW($133F); <br>
<br>
<br>
InterBase ODBC Driver <br>
--------------------- <br>
All versions of InterBase now include an ODBC 2.50 driver <br>
which is installed with the software. <br>
<br>
Borland Database Engine <br>
----------------------- <br>
A Driver Development Kit is available for the BDE. <br>
Contact Developer Relations at Borland for details. <br>
<br>
SNoTableName and other constants have been moved to the <br>
BDEConst unit. <br>
<br>
If you use the Oracle 7.2 or Oracle 7.3 client drivers, open <br>
the BDE Administrator, select the Configuration page, and <br>
navigate to Configuration/Drivers/Native/ORACLE. Then set <br>
VENDOR INIT to ORA72.DLL or ORA73.DLL. Stored procedures <br>
that return a result set are supported only for Oracle 7.3. <br>
<br>
<br>
Using JPEG Images <br>
----------------- <br>
To use JPEG images at design time, choose Component | Install <br>
Component, create a new package, select JPEG as the Unit File <br>
Name, and install the package. To use JPEGs in an application <br>
at runtime, include the JPEG unit in your unit's "uses" clause. <br>
<br>
VCL Help Files <br>
-------------- <br>
The VCL Help file (VCL3.HLP) uses another file called <br>
VCL3JUMP.HLP to provide context-sensitive jump support. <br>
Do not delete this file. If you accidentally delete it, <br>
you'll have to restore it from the Delphi CD. <br>
<br>
Overriding Resource-Module Localization <br>
--------------------------------------- <br>
At start-up, applications typically check the locale of <br>
the system and look for a resource module that matches <br>
the language and country. If you want your application <br>
to use a different resource module from the one indicated, <br>
you can set an override in the registry: Under the <br>
HKEY_Current_User\Software\Borland\Delphi\Locales key, add <br>
your application's path and filename as a string value and <br>
set the data value to the extension of your resource modules; <br>
resource modules; <br>
at startup, your application will look for resource modules <br>
with this extension before using the system locale. For more <br>
information, see "Using Resource Modules" under the <br>
"Localizing Resources" Help topic. <br>
<br>
<br>
<br>
-- <br>
※ 来源:·BBS 水木清华站 bbs.net.tsinghua.edu.cn·[FROM: 162.105.118.41] <br>
</small><hr>
<p align="center">[<a href="index.htm">回到开始</a>][<a href="185.htm">上一层</a>][<a href="253.htm">下一篇</a>]
<p align="center"><a href="http://cterm.163.net">欢迎访问Cterm主页</a></p>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -