1 |
|
5 |
//------------------------------------------------------------
|
2 |
|
|
//------------------------------------------------------------
|
3 |
|
|
// MAGiC
|
4 |
|
|
// Jean Christophe Cuillière et Vincent FRANCOIS
|
5 |
|
|
// Département de Génie Mécanique - UQTR
|
6 |
|
|
//------------------------------------------------------------
|
7 |
|
|
// Le projet MAGIC est un projet de recherche du département
|
8 |
|
|
// de génie mécanique de l'Université du Québec à
|
9 |
|
|
// Trois Rivières
|
10 |
|
|
// Les librairies ne peuvent être utilisées sans l'accord
|
11 |
|
|
// des auteurs (contact : francois@uqtr.ca)
|
12 |
|
|
//------------------------------------------------------------
|
13 |
|
|
//------------------------------------------------------------
|
14 |
|
|
//
|
15 |
|
|
// step.cpp
|
16 |
|
|
//
|
17 |
|
|
//------------------------------------------------------------
|
18 |
|
|
//------------------------------------------------------------
|
19 |
|
|
// COPYRIGHT 2000
|
20 |
|
|
// Version du 02/03/2006 à 11H24
|
21 |
|
|
//------------------------------------------------------------
|
22 |
|
|
//------------------------------------------------------------
|
23 |
|
|
|
24 |
|
|
#include <windows.h>
|
25 |
|
|
//---------------------------------------------------------------------------
|
26 |
|
|
// Important note about DLL memory management when your DLL uses the
|
27 |
|
|
// static version of the RunTime Library:
|
28 |
|
|
//
|
29 |
|
|
// If your DLL exports any functions that pass String objects (or structs/
|
30 |
|
|
// classes containing nested Strings) as parameter or function results,
|
31 |
|
|
// you will need to add the library MEMMGR.LIB to both the DLL project and
|
32 |
|
|
// any other projects that use the DLL. You will also need to use MEMMGR.LIB
|
33 |
|
|
// if any other projects which use the DLL will be performing new or delete
|
34 |
|
|
// operations on any non-TObject-derived classes which are exported from the
|
35 |
|
|
// DLL. Adding MEMMGR.LIB to your project will change the DLL and its calling
|
36 |
|
|
// EXE's to use the BORLNDMM.DLL as their memory manager. In these cases,
|
37 |
|
|
// the file BORLNDMM.DLL should be deployed along with your DLL.
|
38 |
|
|
//
|
39 |
|
|
// To avoid using BORLNDMM.DLL, pass string information using "char *" or
|
40 |
|
|
// ShortString parameters.
|
41 |
|
|
//
|
42 |
|
|
// If your DLL uses the dynamic version of the RTL, you do not need to
|
43 |
|
|
// explicitly add MEMMGR.LIB as this will be done implicitly for you
|
44 |
|
|
//---------------------------------------------------------------------------
|
45 |
|
|
|
46 |
|
|
#pragma argsused
|
47 |
|
|
int WINAPI DllEntryPoint(HINSTANCE hinst, unsigned long reason, void* lpReserved)
|
48 |
|
|
{
|
49 |
|
|
return 1;
|
50 |
|
|
}
|
51 |
|
|
//---------------------------------------------------------------------------
|