procedure TcxSettingsController.MainWndProc(var Message: TMessage);
begin
try
WndProc(Message);
except
Application.HandleException(Self);
end;
end;WndProc(Message);在这句报内存错误,这个和CX控件有关吗?
begin
try
WndProc(Message);
except
Application.HandleException(Self);
end;
end;WndProc(Message);在这句报内存错误,这个和CX控件有关吗?
2、在此段trace,確認WndProc方法地址是否合法;
3、如確認為非法地址,則確認你程序在何時給此元件發送了什麽消息?
if Assinged(Self.WndProc) then
WndProc(Message);