Skip to content
Tcl Source Code Attachment Details
Login

Attachment Details

Overview

Artifact ID: fbba45098c9930377d1b6536ff94df963022101c
Ticket: 1055668fffffffffffffffffffffffffffffffff
Date: 2004-10-28 23:31:32
User: davygrvy
Artifact Attached: 175129f3aca6c8bab01c53af82f796b491154ae1
Filename:crazyALT1.c
Description:mixing requires the import library
Content:
#include <windows.h>
#define USE_TCL_STUBS
#include "tcl.h"

int
Tcl_AppInit (Tcl_Interp *interp)
{
    if (Tcl_InitStubs(interp, "8.1", 0) == NULL) {
	return TCL_ERROR;
    }
    if (Tcl_Init(interp) == TCL_ERROR) {
	return TCL_ERROR;
    }
    return TCL_OK;
}

int
main (int argc, char *argv[])
{
    Tcl_Main(argc, argv, Tcl_AppInit);
    return 0;  // not reached
}