home *** CD-ROM | disk | FTP | other *** search
/ BUG 15 / BUGCD1998_06.ISO / aplic / felixcad / fcaddata.z / FDT_TEMP.C < prev    next >
C/C++ Source or Header  |  1996-09-19  |  1KB  |  53 lines

  1. /********************************************************************
  2. (C)opyright FELIX Computer Aided Technologies GmbH 1995-96
  3.  
  4. Project:    Template C file for FCAD applications
  5. File:       fdt_temp.h
  6. Author:     R. Nuernberger
  7. Created:    June 06, 1994
  8. Changed:    
  9. *********************************************************************/
  10.  
  11. #include <windows.h>
  12. #include "fdt.h"
  13.  
  14. /* DLL's LibMain */
  15. FDT_INIT
  16.  
  17. /* Initialization of the application DLL */
  18. FDT_DLLEXPORT int fdt_app_init()
  19. {
  20.  int iCode;
  21.  /* Registering the internal function "func_1" (function name f1) */
  22.  iCode = fdt_register("func_1","f1");
  23.  
  24.  /* Registering the external function "c:func_2" (function name f2) */
  25.  iCode = fdt_register("c:func_2","f2"); 
  26.  return 1;
  27. }
  28.  
  29. /* Application DLL exit function */
  30.  
  31. FDT_DLLEXPORT int fdt_app_exit()
  32. {
  33.  /* Yet empty. Application exit statements can be added here */
  34.  return 0;
  35. }
  36.  
  37. /* --------------------------------------------------------- */
  38.  
  39. FDT_DLLEXPORT int f1(void)
  40. {
  41.  fdt_printf("Internal function func_1 (procedure name f1)");
  42.  return 0;
  43. }
  44.  
  45. FDT_DLLEXPORT int f2(void)
  46. {
  47.  fdt_printf("External function c:func_1 (procedure name f2)");
  48.  return 0;
  49. }
  50.  
  51. /** end of file **/
  52.  
  53.