Bonjour à tous
Je prends en main XE7. Je paramètre mal les options du compilateur et/ou du linqueur. Voici un EXE qui fait... rien !
Vous avez vu la taille ?
Comment puis-je réduire ça ? Sous D7, j'avais des EXE à 800 ko pour ce programme. Il n'y a presque rien. Voici le source de la Form :
Le fichier DCU dépasse à peine 8,6 Ko. Pas normal.
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71 object Form1: TForm1 Left = 466 Top = 306 Cursor = crArrow BorderIcons = [biSystemMenu] BorderStyle = bsSingle BorderWidth = 4 ClientHeight = 274 ClientWidth = 668 Color = clBtnFace DefaultMonitor = dmMainForm Font.Charset = ANSI_CHARSET Font.Color = clWindowText Font.Height = -13 Font.Name = 'Times New Roman' Font.Style = [fsBold] OldCreateOrder = False Position = poScreenCenter Visible = True OnActivate = FormActivate PixelsPerInch = 96 TextHeight = 15 object Label1: TLabel Left = 0 Top = 0 Width = 668 Height = 47 Align = alTop Alignment = taCenter AutoSize = False Caption = 'PERMANENCE POUR ESSAIS' Font.Charset = ANSI_CHARSET Font.Color = clWindowText Font.Height = -24 Font.Name = 'Times New Roman' Font.Style = [fsBold] ParentFont = False Transparent = True end object Btn_Quitter: TButton Left = 184 Top = 186 Width = 109 Height = 27 Caption = '&QUITTER' TabOrder = 0 OnClick = Btn_QuitterClick OnKeyPress = Btn_QuitterKeyPress end object Btn_1: TButton Left = 350 Top = 186 Width = 135 Height = 29 Caption = 'BOUTON 1' TabOrder = 1 OnClick = Btn_1Click OnKeyPress = Btn_1KeyPress end object StatusBar: TStatusBar Left = 0 Top = 255 Width = 668 Height = 19 Panels = < item Width = 50 end> end end
Partager