I have a GUI application that I was seeing how difficult it was to get
compiled in D2006 (currently using D7). When I try to compile I get an
exception right off the bat:
---------------------------
Error
---------------------------
Error in module Master: Declaration of class TfrmTRAKMaster is missing or
incorrect.
---------------------------
OK Help Details >>
---------------------------
Any suggestions on what I might look at? (Details below)
Thanks
Ed Dressel
Here's the details:
+ $62[21BFD814]{delphicoreide100.bpl}
PasMgr.PasMgr.TPascalFormUpdater.Validate (Line 6161, "PasMgr.pas" + 25) +
$62
+ $4[21BFD8CF]{delphicoreide100.bpl}
PasMgr.PasMgr.TPascalFormUpdater.GetFields (Line 6187, "PasMgr.pas" + 1) +
$4
+ $B[21C15D75]{delphicoreide100.bpl}
DelphiModule.DelphiModule.TPascalCodeMgrModHandler.ValidateFields (Line
1463, "DelphiModule.pas" + 7) + $B
+ $2[21C15A56]{delphicoreide100.bpl}
DelphiModule.DelphiModule.TPascalCodeMgrModHandler.Update (Line 1398,
"DelphiModule.pas" + 7) + $2
+ $F[20BB2C46]{coreide100.bpl}
SourceModule.SourceModule.TCodeISourceModule.Update (Line 1462,
"SourceModule.pas" + 4) + $F
+ $24[20BB0F44]{coreide100.bpl}
SourceModule.SourceModule.TSourceModule.Update (Line 884, "SourceModule.pas"
+ 1) + $24
+ $E[20C3C3DF]{coreide100.bpl} DocModul.DocModul.UpdateModules (Line 3424,
"DocModul.pas" + 3) + $E
+ $19[21C0619D]{delphicoreide100.bpl}
PasMgr.PasMgr.TPascalProjectUpdater.CompileProject (Line 9683, "PasMgr.pas"
+ 4) + $19
+ $14[20BFCE6A]{coreide100.bpl}
ProjectGroup.ProjectGroup.TProjectGroup.CompileContainer (Line 642,
"ProjectGroup.pas" + 53) + $14
+ $B[20BFC86C]{coreide100.bpl}
ProjectGroup.ProjectGroup.TProjectGroup.CompileActive (Line 519,
"ProjectGroup.pas" + 1) + $B
+ $3[218BD460]{vclactnband100.bpl}
ActnMenus.ActnMenus.TCustomActionMainMenuBar.TrackMenu (Line 3143,
"ActnMenus.pas" + 3) + $3
+ $4[218B895D]{vclactnband100.bpl}
ActnMenus.ActnMenus.TCustomActionMenuBar.CMItemKeyed (Line 895,
"ActnMenus.pas" + 3) + $4
+ $6[5205CA19]{vcl100.bpl } Controls.Controls.TWinControl.WndProc (Line
7246, "Controls.pas" + 105) + $6
+ $4[218BA158]{vclactnband100.bpl}
ActnMenus.ActnMenus.TCustomActionMenuBar.WndProc (Line 1572, "ActnMenus.pas"
+ 15) + $4
+ $0[51F60BC0]{rtl100.bpl } Classes.Classes.StdWndProc (Line 11572,
"classes.pas" + 8) + $0
+ $6A[77D48731]{USER32.dll } GetDC + $6A
+ $14A[77D48811]{USER32.dll } GetDC + $14A
+ $122[77D489C8]{USER32.dll } GetWindowLongW + $122
+ $A[77D496C2]{USER32.dll } DispatchMessageA + $A
>D2006 Update 2
>
>I have a GUI application that I was seeing how difficult it was to get
>compiled in D2006 (currently using D7). When I try to compile I get an
>exception right off the bat:
>
>---------------------------
>Error
>---------------------------
>Error in module Master: Declaration of class TfrmTRAKMaster is missing or
>incorrect.
>---------------------------
>OK Help Details >>
>---------------------------
>
>Any suggestions on what I might look at? (Details below)
You might look at whether or not lines in the top of the unit are
commented out. Units that compiled fine in Delphi 7 and earlier did
strange and wondrous things in Delphi 2006 with commented lines I didn't
even realize were there in the interface section.
--
-Brion
There's no such thing as 'one, true way;'
- Mercedes Lackey
Thanks--I looked at that--shoudl have mentioned it... but it didn't fix
it... restarted Delphi and still no go. Shut the system down and restarted
and it works. Don't know what changed.
Thanks
Ed