Autor Beitrag
uall@ogc
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 1826
Erhaltene Danke: 11

Win 2000 & VMware
Delphi 3 Prof, Delphi 7 Prof
BeitragVerfasst: Fr 30.09.05 12:05 
Ich habe mal wieder ein bischen programmiert, da ist mir folgender Bug aufgefallen.

Wenn ich mein Projekt compilieren will, bekomme ich in Delphi ne Exception.
Die datei kann ich auch selbst nicht ändern weil sie dann Schreibgeschützt ist. Wenn man mit einem Texteditor das letzte Komma bei USES wegmacht funktioniert das alles wieder.

Datei im Anhang vielleicht kann das ja mal jemand mit D05 und welche mit D7 testen ob das nur bei mir so ist.


EDIT: hab mal nen Video gemacht ;)

Moderiert von user profile iconChristian S.: Topic aus Sonstiges verschoben am Fr 30.09.2005 um 12:08
Einloggen, um Attachments anzusehen!
_________________
wer andern eine grube gräbt hat ein grubengrabgerät
- oder einfach zu viel zeit
WeBsPaCe
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 2322
Erhaltene Danke: 1

FireFox 3, Internet Explorer 6 SP1
D1, D3Prof, D6Pers, D7Pers+Indy, VisualStudio Express
BeitragVerfasst: Sa 01.10.05 20:29 
Moin.

Also ich kann das mit meinem D7Pers genauso reproduzieren. ;)

coucou, WeBBy

_________________
Steht der Bauer im Gemüse, hat er später grüne Füße.
matze.de
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 576

Win95, Win98 SE, WinXp Prof SP2
D7P, D8P, FPC2.0
BeitragVerfasst: Sa 01.10.05 23:25 
Jup, mein D7 Prof macht das mit dem kommentar im uses zwischen komma und semikolon auch nicht mit.

mfg matze

_________________
si tacuisses, philosophus mansisses.
Lannes
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 2352
Erhaltene Danke: 4

Win XP, 95, 3.11, IE6
D3 Prof, D4 Standard, D2005 PE, TurboDelphi, Lazarus, D2010
BeitragVerfasst: Sa 01.10.05 23:55 
Hallo,

D3 sagt : 'USES-Anweisung fehlt oder ist nicht korrekt'

_________________
MfG Lannes
(Nichts ist nicht Nichts) and ('' <> nil ) and (Pointer('') = nil ) and (@('') <> nil )
Brueggendiek
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 304

Win 98, Win98SE, Win XP Home
D5 Std
BeitragVerfasst: So 02.10.05 03:17 
Hallo Daniel!

- hier stand erst mal Schwachsinn, sorry!


Huups - da hatte ich doch glatt die Frage nicht richtig gelesen. Das kommt davon, wenn man sich das Ganze runterladen muß und dann kein Delphi auf dem betreffenden Rechner hat.

Bei meinem D5 Standard wird der Fehler ordnungsgemäß angezeigt (Bezeichner erwartet, aber ';' gefunden).

Zur Eingrenzung solltest Du das Ganze mal auf das Wesentliche (also im Prinzip nur die Uses mit Standard-Units) reduzieren. Nach fehlerfreier Compilierung das fehlerhafte Komma reinsetzen und dann weitersehen.

Gruß

Dietmar Brüggendiek
uall@ogc Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 1826
Erhaltene Danke: 11

Win 2000 & VMware
Delphi 3 Prof, Delphi 7 Prof
BeitragVerfasst: So 02.10.05 17:19 
hallo ich hab das unwichtige mal rausgeschmissen:

ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
6:
library accessdll;
uses
  windows,;
begin
  windows.
end.


und delphi bekommt ne exception

_________________
wer andern eine grube gräbt hat ein grubengrabgerät
- oder einfach zu viel zeit
BenBE
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 8721
Erhaltene Danke: 191

Win95, Win98SE, Win2K, WinXP
D1S, D3S, D4S, D5E, D6E, D7E, D9PE, D10E, D12P, DXEP, L0.9\FPC2.0
BeitragVerfasst: So 02.10.05 19:27 
Hab spaßeshalber in meiner D7 nak EurekaLog mitlaufen lassen:

ausblenden volle Höhe Quelltext
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:
72:
73:
74:
75:
76:
77:
78:
79:
80:
81:
82:
83:
84:
85:
86:
87:
88:
89:
90:
91:
92:
93:
94:
95:
96:
97:
98:
99:
100:
101:
102:
103:
EurekaLog 4.5.4

Application:
---------------------------------------------------------
  1.1 Start Date      : Sun, 2 Oct 2005 19:18:09 +0100
  1.2 Name/Description: Delphi-32 Development Environment
  1.3 Version Number  : 7.0.8.1
  1.4 Parameters      : 

Exception:
--------------------------------------------------------------------------------------------------------
  2.1 Date   : Sun, 2 Oct 2005 19:19:31 +0100
  2.2 Address: 00A5F4EB
  2.3 Module : dcc70.dll
  2.4 Type   : EAccessViolation
  2.5 Message: Zugriffsverletzung bei Adresse 00A5F4EB in Modul 'dcc70.dll'. Lesen von Adresse 00000414.

Active Controls:
----------------------------------
  3.1 Form Class   : TProgressForm
  3.2 Form Text    : Compilieren
  3.3 Control Class: TButton
  3.4 Control Text : Abbrechen

Computer:
----------------------------
  4.1 Name        : ---
  4.2 User        : ---
  4.3 Total Memory: 512 Mb
  4.4 Free Memory : 21 Mb
  4.5 Total Disk  : 23,97 Gb
  4.6 Free Disk   : 2,14 Gb

Operating System:
--------------------------------------
  5.1 Type    : Microsoft Windows 2000
  5.2 Build # : 2195
  5.3 Update  : Service Pack 4
  5.4 Language: Deutsch (Deutschland)

Call Stack Information:
----------------------------------------------------------------------------------------------
|Address |Module              |Unit            |Class           |Procedure/Method       |Line|
----------------------------------------------------------------------------------------------
|06970CAC|ExceptionExpert7.bpl|Exceptionlog.pas|                |StandardEurekaNotify   |    |
|002D595C|vcl70.bpl           |Forms.pas       |TApplication    |HandleException        |    |
|40003440|rtl70.bpl           |System.pas      |                |_FreeMem               |    |
|40006E44|rtl70.bpl           |System.pas      |                |_LStrArrayClr          |    |
|0058DBD8|coreide70.bpl       |COMINOUT.pas    |                |BMULTILINEMESSAGE      |    |
|77887FC0|ntdll.dll           |                |                |RtlLeaveCriticalSection|    |
|002B1910|vcl70.bpl           |Controls.pas    |TControl        |WndProc                |    |
|002B4B40|vcl70.bpl           |Controls.pas    |TWinControl     |WndProc                |    |
|77887FC0|ntdll.dll           |                |                |RtlLeaveCriticalSection|    |
|4002FE94|rtl70.bpl           |Classes.pas     |TThreadList     |UnlockList             |    |
|0023B240|vcl70.bpl           |Graphics.pas    |                |FreeMemoryContexts     |    |
|00A21E04|dcc70.dll           |                |                |CompilerCompile        |    |
|002B1910|vcl70.bpl           |Controls.pas    |TControl        |WndProc                |    |
|002B1910|vcl70.bpl           |Controls.pas    |TControl        |WndProc                |    |
|002B4B40|vcl70.bpl           |Controls.pas    |TWinControl     |WndProc                |    |
|4002F620|rtl70.bpl           |Classes.pas     |TList           |Get                    |    |
|77E17ECB|user32.dll          |                |                |DispatchMessageA       |    |
|002D5608|vcl70.bpl           |Forms.pas       |TApplication    |ProcessMessage         |    |
|002D56B8|vcl70.bpl           |Forms.pas       |TApplication    |HandleMessage          |    |
|00559D08|coreide70.bpl       |Modules.pas     |TWorkspace      |CompileContainer       |    |
|00559DC8|coreide70.bpl       |Modules.pas     |TWorkspace      |CompileActive          |    |
|4003D36C|rtl70.bpl           |Classes.pas     |TBasicAction    |Execute                |    |
|002BD478|vcl70.bpl           |Actnlist.pas    |TContainedAction|Execute                |    |
|40005EF0|rtl70.bpl           |System.pas      |                |_CallDynaInst          |    |
|77E11340|user32.dll          |                |                |CallNextHookEx         |    |
|002B1910|vcl70.bpl           |Controls.pas    |TControl        |WndProc                |    |
|002B4B40|vcl70.bpl           |Controls.pas    |TWinControl     |WndProc                |    |
|4002F620|rtl70.bpl           |Classes.pas     |TList           |Get                    |    |
|77E17ECB|user32.dll          |                |                |DispatchMessageA       |    |
|002D5608|vcl70.bpl           |Forms.pas       |TApplication    |ProcessMessage         |    |
|002D56B8|vcl70.bpl           |Forms.pas       |TApplication    |HandleMessage          |    |
|002D585C|vcl70.bpl           |Forms.pas       |TApplication    |Run                    |    |
----------------------------------------------------------------------------------------------

Registers:
-----------------------------
EAX: 00000000   EDI: 00000000
EBX: 00000000   ESI: 00000000
ECX: 00000000   ESP: 00000000
EDX: 00000000   EIP: 00000000

Stack:               Memory Dump:
------------------   ---------------------------------------------------------------------------
0012E864: 06980EB2   00A5F4EB: 8B 1C 86 85 DB 74 35 8D 53 20 8B C7 E8 DC C0 00  .....t5.S ......
0012E868: 0012F544   00A5F4FB: 00 85 C0 75 20 F6 43 02 40 75 16 8B 0D 7C 53 B4  ...u .C.@u...|S.
0012E86C: 06980EDD   00A5F50B: 00 81 C1 B8 00 00 00 3B F1 75 0A 80 7B 05 00 75  .......;.u..{..u
0012E870: 0012E8A4   00A5F51B: 04 8B C3 EB 09 8B 5B 1C 85 DB 75 CB 33 C0 5F 5E  ......[...u.3._^
0012E874: 0361EFB0   00A5F52B: 5B C3 90 90 90 55 8B EC 83 C4 F0 53 56 57 8B F9  [....U.....SVW..
0012E878: 01F30D10   00A5F53B: 88 55 FB 89 45 FC 8B 75 08 8B CF 8A 55 FB 8B 45  .U..E..u....U..E
0012E87C: 00000000   00A5F54B: FC E8 8F FF FF FF 8B D8 EB 09 8B C3 E8 34 08 00  .............4..
0012E880: 00000000   00A5F55B: 00 8B D8 85 DB 74 0E 8B D6 8B 43 10 E8 D4 21 00  .....t....C...!.
0012E884: 00A5F000   00A5F56B: 00 85 C0 74 E5 85 DB 0F 85 B8 00 00 00 8B CF 8A  ...t............
0012E888: 00A20000   00A5F57B: 55 FB 8B 45 FC E8 5B FF FF FF 8B D8 8D 43 20 89  U..E..[......C .
0012E88C: 00000000   00A5F58B: 45 F4 80 3B 09 75 7F 8B 53 10 8B 5A 14 BA EB CA  E..;.u..S..Z....
0012E890: 0361EFB0   00A5F59B: AC 00 8D 43 20 8A 08 3A 0A 75 67 84 C9 74 12 8A  ...C ..:.ug..t..
0012E894: 00001007   00A5F5AB: 48 01 3A 4A 01 75 5B 83 C0 02 83 C2 02 84 C9 75  H.:J.u[........u
0012E898: 069D2C80   00A5F5BB: E4 75 4F 6A 2E 8B 45 F4 50 E8 C7 CD 03 00 83 C4  .uOj..E.P.......
0012E89C: 4000A00B   00A5F5CB: 08 89 45 F0 83 7D F0 00 74 34 FF 45 F0 8B 45 F0  ..E..}..t4.E..E.
0012E8A0: 00000000   00A5F5DB: E8 84 BF 00 00 8B 4B 10 24 1F 33 D2 8A D0 8B 41  ......K.$.3....A


Die geladenen Module habsch mal entfernt, da irrelvant (und bei mir SEHR umfangreich)... Das wichtigste steht im Call-Stack.

_________________
Anyone who is capable of being elected president should on no account be allowed to do the job.
Ich code EdgeMonkey - In dubio pro Setting.
mirage228
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 338

Win 7 Prof.
Delphi 2005 Prof., Delphi 2010 Prof.
BeitragVerfasst: Mo 03.10.05 09:50 
Hi,

Ich kann den Fehler mit D7 Upd-1 reproduzieren.

Mit D2005, D6 und D3 tritt er bei mir nicht auf.

mfG
mirage228

_________________
May the source be with you, stranger.