tdll.c

Go to the documentation of this file.
00001 /* Copyright INRIA */
00002 
00003 #include <windows.h> 
00004 #include <stdio.h>
00005 #include <math.h>
00006 
00007 int WINAPI DllMain (HINSTANCE hInstance , 
00008                            DWORD reason,
00009                            PVOID pvReserved)
00010 {
00011   switch (reason) 
00012     {
00013     case DLL_PROCESS_ATTACH:
00014       break;
00015     case DLL_PROCESS_DETACH:
00016       break;
00017     case DLL_THREAD_ATTACH:
00018       break;
00019     case DLL_THREAD_DETACH:
00020       break;
00021     }
00022   return 1;
00023 }
00024 
00025 void doit (double *i,double *j)
00026 {
00027   printf("Enter doit %f %f\n",*i,*j);
00028   *j= *i + 2*sin(3.14/2);
00029   printf("Exit doit %f %f\n",*i,*j);
00030 }
00031 

Generated on Sun Mar 4 15:03:57 2007 for Scilab [trunk] by  doxygen 1.5.1