资源简介
压缩包43MB,解压后189MB
第一次运行run-Capture.bat建立桌面快捷方式
需要依赖于运行Cadence\LicenseManager\lmtools,开启LIC服务
代码片段和文件信息
/*
* tkAppInit.c --
*
* Provides a default version of the Tcl_AppInit procedure for
* use in wish and similar Tk-based applications.
*
* Copyright (c) 1993 The Regents of the University of California.
* Copyright (c) 1994-1997 Sun Microsystems Inc.
*
* See the file “license.terms“ for information on usage and redistribution
* of this file and for a DISCLAIMER OF ALL WARRANTIES.
*
* RCS: @(#) $Id: tkAppInit.cv 1.7 2002/06/21 20:24:29 dgp Exp $
*/
#include “tk.h“
#include “locale.h“
#ifdef TK_TEST
extern int Tktest_Init _ANSI_ARGS_((Tcl_Interp *interp));
#endif /* TK_TEST */
/*
*----------------------------------------------------------------------
*
* main --
*
* This is the main program for the application.
*
* Results:
* None: Tk_Main never returns here so this procedure never
* returns either.
*
* Side effects:
* Whatever the application does.
*
*----------------------------------------------------------------------
*/
int
main(argc argv)
int argc; /* Number of command-line arguments. */
char **argv; /* Values of command-line arguments. */
{
/*
* The following #if block allows you to change the AppInit
* function by using a #define of TCL_LOCAL_APPINIT instead
* of rewriting this entire file. The #if checks for that
* #define and uses Tcl_AppInit if it doesn‘t exist.
*/
#ifndef TK_LOCAL_APPINIT
#define TK_LOCAL_APPINIT Tcl_AppInit
#endif
extern int TK_LOCAL_APPINIT _ANSI_ARGS_((Tcl_Interp *interp));
/*
* The following #if block allows you to change how Tcl finds the startup
* script prime the library or encoding paths fiddle with the argv
* etc. without needing to rewrite Tk_Main()
*/
#ifdef TK_LOCAL_MAIN_HOOK
extern int TK_LOCAL_MAIN_HOOK _ANSI_ARGS_((int *argc char ***argv));
TK_LOCAL_MAIN_HOOK(&argc &argv);
#endif
Tk_Main(argc argv TK_LOCAL_APPINIT);
return 0; /* Needed only to prevent compiler warning. */
}
/*
*----------------------------------------------------------------------
*
* Tcl_AppInit --
*
* This procedure performs application-specific initialization.
* Most applications especially those that incorporate additional
* packages will have their own version of this procedure.
*
* Results:
* Returns a standard Tcl completion code and leaves an error
* message in the interp‘s result if an error occurs.
*
* Side effects:
* Depends on the startup script.
*
*----------------------------------------------------------------------
*/
int
Tcl_AppInit(interp)
Tcl_Interp *interp; /* Interpreter for application. */
{
if (Tcl_Init(interp) == TCL_ERROR) {
return TCL_ERROR;
}
if (Tk_Init(interp) == TCL_ERROR) {
return TCL_ERROR;
}
Tcl_StaticPackage(interp “Tk“ Tk_Init Tk_SafeInit);
#ifdef TK_TEST
if (Tktest_Init(interp) == TCL_ERROR) {
return TCL_ERROR;
}
Tcl_StaticPackage(interp “Tktest“ Tktest_Init
(Tcl_PackageIni
相关资源
- Allegro16.6培训教程中文版.PDF
- 最新版本PowerDesigner 16.6汉化工具(含
- Cadence Allegro 16.6实战必备教程 高清扫
- Cadence高速PCB实战攻略
- FlyCapture 2 Viewer FlyCap2Viewer FLIR Camer
- OrCAD9.2pSpice9.2完全版.rar
- CADENCE ALLEGRO 16.6实战必备教程
- ORCAD 元件库
- ContextCapture(原Smart3D)说明书,148页
- RealityCapture3D扫描制作软件(特别版)
- RealityCapture专业3D模型扫描制作软件
- smart3d(context Capture Center)官方使用教
- 自己实践验证编写的powerlogic转orcad详
- 基于OrCAD Capture 和PSpice的模拟电路设计
- 网络摄像头视频流获取及存储软件(
- Orcad Capture16.5精简版含安装说明
- OrCAD Capture16.2的精简版.rar
- Allegro 16.6 培训教程中文
- VideoCapture调用摄像头
- RealityCapture中文教程.pdf
- 一起来学Cadence Allegro 高速PCB设计
- MT2503官方资料及原理图
- OrCAD Capture 10.5 精简版 免安装
- CapturePerfect v3.0
- Cadence16.6电路设计与仿真从入门到精通
- ContextCapture Center 4.0
- orcad 10.3
- contextcapture汉化包软件
- 100M光纤收发器原理图OrCad文件格式
- Cadence16.6安装说明
评论
共有 条评论