Hallo,
ich wollte gerade einige Funktionen meiner Konsolenanwenung auslagern, bin aber irgendwie zu doof dafür.
Hier die betreffenden Dateien:
bkpman.dpr
Delphi-Quelltext
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16:
| program BkpMan;
{$APPTYPE CONSOLE}
uses SysUtils, ShellApi, windows, messages, dateutils, inifiles, Classes, bkpmanutils in 'bkpmanutils.pas';
type FOptions = packed record |
bkpmanutils.pas
Delphi-Quelltext
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15:
| unit bkpmanutils;
interface
uses sysutils, windows, messages, dateutils, Classes;
implementation
function ABC(CDEF : GHI); |
ABC ist im Hauptprogramm unbekannt