Changeset 500
- Timestamp:
- Dec 22, 2023, 10:37:08 PM (11 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Packages/DpiControls/Dpi.Forms.pas
r497 r500 169 169 FMainForm: TForm; 170 170 FCreatingForm: TForm; 171 FOldExitProc: Pointer;172 171 function GetActive: Boolean; 173 172 function GetExeName: string; … … 382 381 begin 383 382 RegisterFindGlobalComponentProc(@DpiFindApplicationComponent); 384 FOldExitProc := ExitProc; 385 ExitProc := @DpiBeforeFinalization; 383 AddExitProc(@DpiBeforeFinalization); 386 384 inherited; 387 385 end; … … 390 388 begin 391 389 UnregisterFindGlobalComponentProc(@DpiFindApplicationComponent); 392 ExitProc := FOldExitProc;393 390 inherited; 394 391 end;
Note:
See TracChangeset
for help on using the changeset viewer.