⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 95.htm

📁 水木清华BBS精华
💻 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="15.htm">上一层</a>][<a href="96.htm">下一篇</a>]
<hr><p align="left"><small>发信人: strayli (stray), 信区: Delphi <br>

标  题: A Technical View of Borland MIDAS Part II (11) <br>

发信站: BBS 水木清华站 (Thu Nov 12 22:31:22 1998) WWW-POST <br>

  <br>

Using OLEnterprise <br>

  <br>

  <br>

  <br>

When installing OLEnterprise on a Windows 95 machine, do not install into the <br>

default directory, but instead install off your root, and try to avoid long <br>

file names in the directory path. Any problems with OLEnterprise and long <br>

filenames on Windows 95 machines will be corrected in future releases of the <br>

product. To work around any potential problems, simply install into a <br>

directory structure that does not use long filenames. <br>

  <br>

There are four key pieces in the OLEnterprise toolset: <br>

  <br>

The Object Broker, called Broker.exe, and it should be run on the server <br>

machine before loading the Object Factory. If you start it with a -D option <br>

it will spew out debug information that can help you understand that process <br>

of connections, and help you confirm that connections are occurring in the <br>

correct order and at the correct time. <br>

The OLEnterprise Configuration utility, called OLECFG.exe. This utility is <br>



used to specify whether or not you are using an Object Broker, and what <br>

machine the Object Broker is running on. Remember that the broker's job is to <br>

distribute connections randomly, as such it is not needed in order to make <br>

the connection. It is a helpful utility, but not a necessity. Therefore the <br>

configuration gives you the option of turning it off. You should run the <br>

configuration utility on both the client and the server. <br>

The Object Factory, called ObjFact.exe. This utility is the core of the <br>

system, and you must run it on the server or OLEnterprise will not work. <br>

However, you do not have to have this utility running on the client to make a <br>

connection. <br>

The Object Explorer, called OLEntExp.exe. This program plays a similar role <br>

to DCOMCFG.exe. It allows you to browse the objects available on your system, <br>

to export objects from a server, and to import objects from a remote system. <br>

You should remember that the explorer uses the registry as the main <br>

repository of information about the objects on a system. If you have run a <br>

server once on a machine, the explorer will find the object in the registry, <br>

and you can then use the menu to export or import the object. If you are on a <br>

client machine, and are using the explorer to search for programs on remote <br>

machines, then you must be sure that you have used the OLEnterprise <br>

Configuration utility to specify where the object broker you are currently <br>

using is running. If you launch the explorer, and it takes a very long time <br>

to come up, or it appears to hang at times, then it is likely that the <br>

r>

to come up, or it appears to hang at times, then it is likely that the <br>

machine is searching for the broker but cannot find it. The program can take <br>

several minutes before it allows the search to time out and returns control to tthe user. The same thing will happen if you click <br>

on the Object Broker option in the program's left panel. One click, and a <br>

search for the broker will begin. If the broker is not found, use the <br>

configuration utility to specify its location, or else go to the remote <br>

machine and make sure the broker is running. If you start the broker with the <br>

-D option, then you should see output from it when you start an Object <br>

Factory on the same machine, or when you try to connect to it from a remote <br>

machine. <br>

When using the Explorer, you need to learn how to import and export objects. <br>

This is an intuitive process accomplished by manipulating the menus or by <br>

right click on items in the main panels of the application. You should <br>

probably spend some time using the default sample programs shipping with the <br>

product to make sure you understand importing and exporting objects. In <br>

particular, go to etc\samples\auto\memoedit to find a good pre-built sample <br>

program. <br>

  <br>

  <br>

-- <br>

※ 来源:·BBS 水木清华站 bbs.net.tsinghua.edu.cn·[FROM: 202.38.79.111] <br>

</small><hr>
<p align="center">[<a href="index.htm">回到开始</a>][<a href="15.htm">上一层</a>][<a href="96.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 + -