home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
BUG 15
/
BUGCD1998_06.ISO
/
aplic
/
felixcad
/
fcaddata.z
/
FDT_TEMP.C
< prev
next >
Wrap
C/C++ Source or Header
|
1996-09-19
|
1KB
|
53 lines
/********************************************************************
(C)opyright FELIX Computer Aided Technologies GmbH 1995-96
Project: Template C file for FCAD applications
File: fdt_temp.h
Author: R. Nuernberger
Created: June 06, 1994
Changed:
*********************************************************************/
#include <windows.h>
#include "fdt.h"
/* DLL's LibMain */
FDT_INIT
/* Initialization of the application DLL */
FDT_DLLEXPORT int fdt_app_init()
{
int iCode;
/* Registering the internal function "func_1" (function name f1) */
iCode = fdt_register("func_1","f1");
/* Registering the external function "c:func_2" (function name f2) */
iCode = fdt_register("c:func_2","f2");
return 1;
}
/* Application DLL exit function */
FDT_DLLEXPORT int fdt_app_exit()
{
/* Yet empty. Application exit statements can be added here */
return 0;
}
/* --------------------------------------------------------- */
FDT_DLLEXPORT int f1(void)
{
fdt_printf("Internal function func_1 (procedure name f1)");
return 0;
}
FDT_DLLEXPORT int f2(void)
{
fdt_printf("External function c:func_1 (procedure name f2)");
return 0;
}
/** end of file **/