ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/REPOS_ERICCA/magic/app/VMM/win32/vm.cpp
Revision: 5
Committed: Tue Jun 12 20:26:34 2007 UTC (18 years, 2 months ago)
Original Path: magic/app/VMM/VMM/win32/vm.cpp
File size: 3358 byte(s)
Log Message:

File Contents

# User Rev Content
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     // vm.cpp
16     //
17     //------------------------------------------------------------
18     //------------------------------------------------------------
19     // COPYRIGHT 2000
20     // Version du 02/03/2006 à 11H26
21     //------------------------------------------------------------
22     //------------------------------------------------------------
23    
24    
25     #include "gestionversion.h"
26     #include <vcl.h>
27     #include <atl\atlmod.h>
28     #include "departwin.h"
29     #pragma hdrstop
30     //---------------------------------------------------------------------
31     USEFORM("main.cpp", MainForm);
32     USEFORM("departwin.cpp", departwinform);
33     USEFORM("visuwin.cpp", VisuWinform);
34     USEFORM("config.cpp", configwin);
35     USEFORM("editwin.cpp", EditeurWinform);
36     USEFORM("magicform.cpp", VisuMagicform);
37     USEFORM("transform.cpp", wintransform);
38     USEFORM("veriwin.cpp", verimesh);
39     USEFORM("about.cpp", AboutBox);
40     USEFORM("visuctt.cpp", visucttform);
41     USEFORM("ccfwin.cpp", ccfwinform);
42     USEFORM("expwin.cpp", expwinf);
43     USEFORM("matwin.cpp", matwinform);
44     USEFORM("visugraph.cpp", graph);
45     USEFORM("visu.cpp", Visufront);
46     USEFORM("alicence.cpp", Aboutlicence);
47     USEFORM("importcosmos.cpp", CosmosWin);
48     USEFORM("Applifonc.cpp", afm);
49     USEFORM("carte3dform.cpp", wincarte);
50     USEFORM("compocarte.cpp", comc);
51     USEFORM("visuparametrique.cpp", visupara);
52     USEFORM("typelic.cpp", Ftypelic);
53     USEFORM("help.cpp", helpwin);
54     USEFORM("solveur.cpp", fsolve);
55     //---------------------------------------------------------------------------
56     WINAPI WinMain(HINSTANCE, HINSTANCE, LPSTR, int)
57     {
58     #ifdef BREP_SLD
59     CoInitialize(NULL);
60     #endif
61     Application->Initialize();
62     Application->Title = "Visual MAGiC";
63     Application->CreateForm(__classid(TMainForm), &MainForm);
64     Application->CreateForm(__classid(Tdepartwinform), &departwinform);
65     Application->CreateForm(__classid(Tconfigwin), &configwin);
66     Application->CreateForm(__classid(TAboutBox), &AboutBox);
67     Application->CreateForm(__classid(Tccfwinform), &ccfwinform);
68     Application->CreateForm(__classid(TAboutlicence), &Aboutlicence);
69     Application->CreateForm(__classid(Tafm), &afm);
70     Application->CreateForm(__classid(Tcomc), &comc);
71     Application->CreateForm(__classid(TFtypelic), &Ftypelic);
72     Application->CreateForm(__classid(Thelpwin), &helpwin);
73     departwinform->ShowModal();
74     Application->Run();
75     #ifdef BREP_SLD
76     //CoUninitialize();
77     #endif
78    
79     return 0;
80     }
81     //---------------------------------------------------------------------
82