- BORLAND/: Borland C++ 4.52 (chosen over 4.5 by byte-match: CODE/RP/CW32.LIB
is identical to 4.52's install lib). BCC32/TLINK32/TLIB/MAKE run natively on
Win11; CODE/BT/OPT.MAK is the shipped BTL4OPT.EXE's exact flag recipe
(extender = Borland PowerPack DPMI32, not Phar Lap TNT).
- restoration/source410/: the literal 1995-form reconstruction of the missing
BT game source (never mixed into CODE/). Round 1-3 state:
* 6 of 10 surviving original TUs COMPILE CLEAN under the period toolchain
(BTMSSN, BTCNSL, BTSCNRL, BTTEAM, BTL4MODE, BTL4ARND) - first builds
since 1996.
* BT_L4/BTL4APP.CPP pilot reconstruction: 12/12 functions, Fail() lands on
its binary-recorded line 400 exactly.
* BT/BTCNSL.HPP: console wire IDs recovered from the binary's ctors
(Killed=9, Damaged=10, ScoreUpdate=13, DeathWithoutHonor=15 [T1];
TeamScore=12 flagged [T4]).
* MUNGA/: 8 engine-header backfills back-dated from the BT412 WinTesla tree
(VDATA numbering decomp-verified; AUDREND's OpenAL-era virtual removed -
the period compiler is the drift detector).
* Tooling: backdate.py (WinTesla->1995 header transform), compile410.sh
(per-TU verification sweep under authentic OPT.MAK flags).
* README: corrected roadmap - MECH.HPP is the capstone grown with the mech
TU reconstructions; BTREG.CPP green = the header-family milestone.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
67 lines
2.2 KiB
Plaintext
67 lines
2.2 KiB
Plaintext
// BDE - (C) Copyright 1995 by Borland International
|
|
|
|
#include <windows.h>
|
|
#include "dbping.h"
|
|
|
|
//////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// Icon
|
|
//
|
|
|
|
1100 ICON DISCARDABLE "DBPING.ICO"
|
|
|
|
//////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// Menu
|
|
//
|
|
|
|
MAINMENU MENU DISCARDABLE
|
|
BEGIN
|
|
MENUITEM "&About", IDM_ABOUT
|
|
END
|
|
|
|
|
|
//////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// Dialog
|
|
//
|
|
|
|
ABOUT DIALOG 33, 29, 171, 105
|
|
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
|
|
CAPTION "About"
|
|
{
|
|
ICON 1100, -1, 16, 13, 13, 13, WS_GROUP
|
|
CTEXT "Verify database connections!", -1, 18, 66, 135, 8
|
|
CONTROL "", -1, "static", SS_BLACKFRAME | WS_CHILD | WS_VISIBLE, 5, 3, 161, 77
|
|
PUSHBUTTON "&Ok", IDOK, 60, 85, 50, 14
|
|
CTEXT "DB Ping!", -1, 40, 10, 120, 8
|
|
CTEXT "Borland Database Engine 2.5 Sample Application", -1, 40, 24, 121, 16
|
|
CONTROL "", -1, "static", SS_BLACKFRAME | WS_CHILD | WS_VISIBLE, 5, 61, 161, 1
|
|
CTEXT "BDE - (C) Copyright 1995 Borland International", -1, 10, 46, 151, 7
|
|
}
|
|
|
|
MAINDIALOG DIALOG 16, 25, 275, 187
|
|
STYLE WS_OVERLAPPED | WS_CAPTION | WS_SYSMENU | WS_MINIMIZEBOX
|
|
CLASS "ConnectClass"
|
|
CAPTION "Database PING Utility"
|
|
MENU MAINMENU
|
|
{
|
|
LISTBOX IDL_DRIVERS, 10,20,120,44, LBS_SORT |
|
|
LBS_NOINTEGRALHEIGHT | WS_VSCROLL | WS_GROUP |
|
|
WS_TABSTOP
|
|
LISTBOX IDL_ALIASES, 135,20,130,44, LBS_SORT |
|
|
LBS_NOINTEGRALHEIGHT | WS_VSCROLL | WS_GROUP |
|
|
WS_TABSTOP
|
|
EDITTEXT IDE_PASSWORD, 52,70,213,12, ES_AUTOHSCROLL | ES_PASSWORD | WS_BORDER | WS_GROUP | WS_TABSTOP
|
|
LISTBOX IDL_RESULTS, 5, 103, 265, 47, LBS_NOTIFY | WS_BORDER | LBS_HASSTRINGS | WS_BORDER | WS_VSCROLL | WS_HSCROLL | WS_GROUP | WS_TABSTOP
|
|
DEFPUSHBUTTON "&Ping!", IDOK, 58, 166, 49, 14, WS_GROUP
|
|
PUSHBUTTON "E&xit", IDCANCEL, 167, 166, 50, 14
|
|
CTEXT "IDAPI Drivers", -1, 10,10,120,8
|
|
CTEXT "Select Alias to Use", -1, 135,10,130,8
|
|
RTEXT "Password:", IDT_PASSWORD_HDR, 10,72,40,8
|
|
CONTROL "", -1, "static", SS_BLACKFRAME | WS_CHILD | WS_VISIBLE, 5, 5, 265, 83
|
|
CTEXT "Ping Result", -1, 5, 92, 265, 10
|
|
CONTROL "", -1, "static", SS_BLACKFRAME | WS_CHILD | WS_VISIBLE, 0, 158, 275, 1
|
|
}
|
|
|