0024315: Use delayed release of resources in OpenGl aspects for consistency
[occt.git] / samples / mfc / standard / ReadMe.md
1 MFC samples {#samples_mfc_standard}
2 ==========
3
4 1. Description of the tree structure:
5 ---------------------------------------------
6
7     |
8     |-- 01_Geometry                
9     |-- 02_Modeling
10     |-- 03_Viewer2d
11     |-- 04_Viewer3d                             Projects and sources of samples
12     |-- 05_ImportExport                            
13     |-- 06_Ocaf
14     |-- 07_Triangulation
15     |-- 08_HLR
16     |-- 09_Animation
17     |-- 10_Convert                        
18     |    
19     |-- All-vc"number".sln                              Auxilary utility project. It depends on all other sample
20     |                                      projects, so when rebuilded it rebuilds all samples and 
21     |                                              mfcsample library.
22     |
23     |-- Common                  Common source and header files for samples and
24     |                                      dynamic-link library mfcsample.dll.
25     | 
26     |-- Data                                    Data files.
27     |
28     |-- mfcsample                       Project for mfcsample.dll. This library is used by all 
29     |                              samples. It contains basic funcionality that commonly 
30     |                              needed in every OCC sample.
31     |
32     |
33     |-- env.bat                 This file is called from msvc.bat.
34
35                                    
36 2. Launching Open CASCADE Technology samples:
37 ---------------------------------
38
39 To run the Open CASCADE Technology samples:
40     
41    execute run.bat [vc8|vc9|vc10] [win32|win64] [Release|Debug] [SampleName]
42
43 To run the Animation sample:
44
45    execute run.bat vc8 win32 Debug Animation
46
47 3. Modifying and rebuilding samples:
48 --------------------------------------------
49
50 You can modify, compile and launch all sample projects in MS Visual C++ at once:
51   
52    execute msvc.bat [vc8|vc9|vc10] [win32|win64] [Release|Debug]
53
54 To run all sample projects in MS Visual C++ at once: 
55     
56    execute msvc.bat vc8 win32 Debug
57
58
59 Note: make sure your PATH environment variable contains a directory, 
60       msdev.exe is located in.