[DUG] IsClass access violation
Ross Levis
ross at stationplaylist.com
Thu Nov 14 15:51:53 NZDT 2013
I've got a strange error occurring for just one user where this procedure is
failing...
procedure TCustomDetails.SetModified(Modify: Boolean);
begin
FModified := Modify;
if Modify then
begin
if Self is TCategoryDetails then MainForm.CategoryChanged := True
else MainForm.SpotChanged := True;
end;
end;
TCategoryDetails and another class is inherited from TCustomDetails.
Access violation at address 004047DC in module 'SPLCreator.exe'. Read of
address FFFFFFDF.
main thread ($87c):
004047dc SPLCreator.exe System TObject.InheritsFrom
00404742 SPLCreator.exe System @IsClass
005dc6a6 SPLCreator.exe SPMain 3831 +4 TCustomDetails.SetModified
Would this happen if Self was nil or invalid? I don't see how that could
happen but just wondering how this can happen.
Cheers,
Ross.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listserver.123.net.nz/pipermail/delphi/attachments/20131114/d4ed8c5d/attachment.html
More information about the Delphi
mailing list