CCallIDL(Linux)
所属分类:Linux/Unix编程
开发工具:Unix_Linux
文件大小:19KB
下载次数:13
上传日期:2006-12-05 10:19:04
上 传 者:
和你有约
说明: Linux环境下IDL数据可视化语言的接口编程,实现数据在C与IDL之间的交互
(Linux environment IDL data visualization interface programming language, Data in C and the interaction between the IDL)
文件列表:
CCallIDL(Linux) (0, 2006-06-19)
CCallIDL(Linux)\all_callext_examples.pro (1530, 2003-07-07)
CCallIDL(Linux)\astructure__define.pro (1036, 2003-07-07)
CCallIDL(Linux)\get_callext_exlib.pro (2781, 2003-07-07)
CCallIDL(Linux)\incr_struct.c (2647, 2003-07-07)
CCallIDL(Linux)\incr_struct.pro (3613, 2003-07-07)
CCallIDL(Linux)\simple_vars.c (2437, 2003-07-07)
CCallIDL(Linux)\simple_vars.pro (3036, 2003-07-07)
CCallIDL(Linux)\string_array.c (4236, 2003-07-07)
CCallIDL(Linux)\string_array.pro (2701, 2003-07-07)
CCallIDL(Linux)\sum_2d_array.c (4243, 2003-07-07)
CCallIDL(Linux)\sum_2d_array.pro (4191, 2003-07-07)
CCallIDL(Linux)\sum_array.c (1894, 2003-07-07)
CCallIDL(Linux)\sum_array.pro (2598, 2003-07-07)
------------------------------------------------------------
README file:
external
call_external
------------------------------------------------------------
This directory contains examples which demonstrate the usage
of the CALL_EXTERNAL function under Unix and Microsoft Windows.
It uses the MAKE_DLL procedure, contained in get_callext_exlib.pro,
to build the sharable C code, transparently and on demand, for your
platform.
This example assumes that your system has a C compiler installed that
is compatible with the C compiler described in the !MAKE_DLL system
variable. If you do not have such a compiler installed, these examples
will not work.
To Run the CALL_EXTERNAL examples:
IDL> pushd, FILEPATH('',SUBDIRECTORY=['external','call_external','C'])
IDL> all_callext_examples
IDL> popd
When you run ALL_CALLEXT_EXAMPLES, there are a couple of keywords you
can specify:
AUTO_GLUE - Set this keyword to cause IDL to call the examples
using the AUTO_GLUE keyword to CALL_EXTERNAL. This
feature allows you to call C functions that have
"natural" interfaces that don't use the IDL portable
calling convention (argc, argv).
VERBOSE - Set this keyword to have MAKE_DLL and CALL_EXTERNAL
list the commands they execute and the resulting output
generated by those commands.
The use of PUSHD and POPD are due to the fact that your IDL search
path (!PATH) is unlikely to have the directory containing these
examples in it. PUSHD changes your working directory to the location
where these files are found, and POPD restores it to its original location.
Once you have run ALL_CALLEXT_EXAMPLES, you can run any of the individual
examples by directly executing their commands. These commands also accept
the AUTO_GLUE and VERBOSE keywords. In addition, they accept other arguments,
the details of which are available by reading their .PRO files.
Running the examples:
IDL>incr_struct
IDL>simple_vars
IDL>string_array
IDL>sum_2d_array
IDL>sum_array
近期下载者:
相关文件:
收藏者: