Rev 4 | Rev 16 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4 | Rev 10 | ||
---|---|---|---|
Line 2... | Line 2... | ||
2 | 2 | ||
3 | interface |
3 | interface |
4 | 4 | ||
5 | {$INCLUDE DelphiXcfg.inc} |
5 | {$INCLUDE DelphiXcfg.inc} |
6 | 6 | ||
- | 7 | {$IFNDEF UseDirectPlay} // Daniel Marschall 12.04.2024 Added to avoid Windows showing "This app requires DirectPlay" |
|
- | 8 | {$MESSAGE ERROR 'If you want to use DXPlay.pas, please enable the IFDEF UseDirectPlay in DelphiXcfg.inc'} |
|
- | 9 | {$ENDIF} |
|
- | 10 | ||
7 | uses |
11 | uses |
8 | Windows, SysUtils, Classes, Forms, DXClass, ActiveX, DXETable, |
12 | Windows, SysUtils, Classes, Forms, DXClass, ActiveX, DXETable, |
9 | {$IfDef StandardDX} |
13 | {$IfDef StandardDX} |
10 | DirectDraw, |
14 | DirectDraw, |
11 | // Delphi 2010 cannot be use DirectPlay8 because structure was not rewriten |
15 | // Delphi 2010 cannot be use DirectPlay8 because structure was not rewriten |