tellme Guest
|
Posted: Thu Jan 27, 2005 5:00 pm Post subject: Delphi 5 IDE Assertion opening a form |
|
|
I have an Assertion failed (Address 0x000000, Read=0x000000) when I
try to open one of my form. I have narrowed it down to a statement in
my DFM file, which produce this problem:
object frmSessions2: TfrmSessions2
object cmbReason: TMS_ComboBox
MemoryTable = frmRvMain.tmUnavailReason
TableColumn = 'UNAV_DESC'
end
end
That'a all there is in my DFM now, and it produces the error? There is
nothing wrong with my frmRvMain, its in my project and compiles.
I tried to change frmRvMain to RvMain, the name of the unit and not
the form it declared. Produces the same error message. Here my test
form file:
unit rvSess2;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Dialogs,
ComCtrls, StdCtrls, ExtCtrls, Grids,
Mask, Menus, Buttons,forms, cRvSess,
dbtables, Db,
rvMain, // <------- use to be frmRvMain (?)
MsReg, ms95reg;
type
TfrmSessions2 = class(Tform)
private
public
end;
{$R *.DFM}
implementation
end.
|
|