Persistent Objects in Windows XP/Delphi 7

前端 未结 4 2073
萌比男神i
萌比男神i 2021-01-06 03:43

I am trying to make an AlarmSystem in Delphi 7, Windows XP. I have to register alarms in a Database (MS SQL Server 2000). But what if the server is down??? Well, I can imagi

4条回答
  •  南笙
    南笙 (楼主)
    2021-01-06 04:13

    You could persist the information in an XML or INI file locally. That doesn't require changing what TAlarm descends from. You would need to manually persist and restore all the properties that you wish to persist locally though. Shouldn't be that complicated.

提交回复
热议问题