Aspen Touch Solutions ATM-123R Series Specifikace Strana 91

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 374
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 90
Extensibility 3-7
3-7
3.4 Extension
Development Kit
A number of tools are provided in the HYSYS Extension
Development Kit. These tools are not required to build
extensions for HYSYS, but they make the job much easier.
Included in the kit are the following:
When sending an array of numbers to HYSYS they should
always be of type REAL or LONG.
File Description
hysys.tlb The HYSYS Type Library, that contains definitions for all
objects exposed by HYSYS, as well as definitions for
interfaces required by HYSYS Extensions. Programming
languages such as Visual Basic use this file to determine
what a particular object contains. Many programs
provide browsers to look at the contents of this file. For
example, Excel provides an Object Browser that can be
used to view the properties of methods of each object
and to help navigate the object model. Unlike the other
files in the table, the HYSYS Type Library is always
installed, even when you do not install the Extension
Development Kit.
extsdk.bas Contains constants defined by HYSYS in a format that
can easily be included in a Visual Basic project. This
allows the extension developer to refer to HYSYS
constants through Const definitions, rather than
through numbers. This information can also be read
from the HYSYS Type Library, if your programming
language supports this.
extsdk.cpp and
extsdk.hpp
Contain support code that can be included in a C++
project. They implement a ClassFactory for any
extensions in the project and also implement the
DllRegisterServer and DllUnregisterServer methods.
These files compile in both Microsoft Visual C++ and
Borland C++.
hysys.hh Contains definitions of all the interfaces and
enumerations found in the HYSYS Type Library.
Including this file in your C++ source allows you to call
methods on HYSYS interfaces.
hysysiid.cc Instantiates all of the GUIDs defined by HYSYS. It can
be included as part of a C++ project to allow reference
to HYSYS GUIDs.
Zobrazit stránku 90
1 2 ... 86 87 88 89 90 91 92 93 94 95 96 ... 373 374

Komentáře k této Příručce

Žádné komentáře