Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

SubjectStatus in v10Evidence
Client/Server mode (Visual Basic client apps, agents, Worldgroup Manager)Not in v10MBBS10.txt section 2; tlc.h:112 ("AHTML and C/S Support removed", under #ifdef SUPPORTREMOVED); the v10 repository history has the commit "Initial port of GALTELE including removal of AHTML and CS related code".
Active HTMLNot in v10MBBS10.txt section 2. The v10 headers confirm it: the TLCAH.CPP declarations (iAHTrans, initactiveh, initActiveHLite, initahpag) sit inside #ifdef SUPPORTREMOVED //AHTML and C/S Support removed (tlc.h:112-120), so they are compiled out; likewise the AHTML hooks tlcenter()/tlcexit() (TLCAPI.H:69-70). GALACTH.H is still shipped, so the presence of that header says nothing about support. SUPPORTREMOVED is the v10 port's marker for removed AHTML and C/S code (also tlcact.h:21, tlcchan.h:19, tlcpal.h:19).
WGM stand-alone client toolingunverifiedMBBS10.txt names only "Client/Server (Visual Basic app) mode". The v10 vcproj/ has a project named wgsmkwgm; its status is not established. Treated here as client side, hence not in v10.
rtihdlr()present; "restored and functional" per MBBS10.txtWGSEXP VOID rtihdlr(VOID (*rouptr)(VOID)); (MAJORBBS.H:746). The prototype is identical in WG3.2 (MAJORBBS.H:750 there), so the claim is about run-time behaviour: unverified from headers. The tick rate (the "18 Hz" of chapter 11) is unverified.
GSBL (galgsbl)presentEXPGSBL macros (BRKTHU.H:20-28). The DOS hardware parts of chapters 13-19 are historical.
X.25no X.25 header in v10 inc/ (listing checked)chapter 19 is historical; unverified whether any X.25 support remains.

...

Most of the printed examples in this guide (chapters 3-6, 11, 16, 17) pass literals, or #defined literals, to routines declared with a plain CHAR *. The v10 headers still declare those routines without const:

Code Block
EXPGSBL INT btuxmt(INT chan,CHAR *datstg);     /* BRKTHU.H:162 */

The same header declares the sibling btucmd correctly: EXPGSBL INT btucmd(INT chan,const CHAR *cmdstg); (BRKTHU.H:159). So btucmd(chan,"ATZ") is safe and btuxmt(chan,"ATDT13055837808\r") is the call that MBBS10 warns about (chapter 16 prints exactly this form).

...

ClaimWhat the headers say
C23 removed default arguments in palSave, palStatus, tlcChannel*, tlcTrans*, tlcPublicSendAllChannelsFalse. v10 still has them: VOID palSave(INT unum, GBOOL updateself = TRUE); (tlcpal.h:59), const CHAR* user = NULL (tlcpal.h:63), TLCAPIC.H:62-65, 177-178. The two trees differ only in spacing around =. These are C++ headers: a C build cannot include them, with or without C23.
TPCSIZ changed 41 to 51GME.H is 51 in both trees (GME.H:48). The 41 is the teleconference header ENTTLC.H:32 (#undef TPCSIZ / #define TPCSIZ 41), which v10 does not ship. The 40 printed in chapter 5's sample program is that sample's own define.
tlc flags renumbered (XTOOTH 128 to 0x0001, TYPING 512 to 0x0004, RSTX2M 1024 to 0x0002)tlc.h:48-50 has 0x0001, 0x0002, 0x0004 in v10, and WG3.2's tlc.h already had the same values. Only code written against the dropped ENTTLC.H (128/512/1024) sees a difference.
DFAFILE changed from BTVFILE to struct dfablkDFAAPI.H:167 is #define DFAFILE struct dfablk in both. BTVFILE existed only in the compatibility headers (2030.H, LAYER.H), which are not in the shared v10 inc/ (29.7).
MAXPARSZ redefinednon-STARTER value unchanged; the STARTER variant is gone (29.6).
"34 structs removed"16 belong to dropped headers; the other 18 (qscfg, dns, dnshstex, pageInfo, ...) are still defined, now with the module export macro in the tag. Parser artifact.

...

APIPrototype / contentWhere
HookAddGBOOL HookAdd(USHORT hooktype, voidfunc hookfunc, SHORT priority); priority runs 32767 to -32768SMNNHOOK.H:30-34
HookNextINT HookNext(USHORT hooktype, INT curidx); returns an index or NOIDX; pass NOIDX for the firstSMNNHOOK.H:36-39
struct HookItem, HookArr, nHooksSMNNHOOK.H:20-27
getCPUInfo, getOSVersion, formatBytesreturn char *; buffer ownership unverifiedOPRLOW.H:152-155
getTotalDiskSpace, getFreeDiskSpace, getTotalMemory, getFreeMemoryunsigned __int64OPRLOW.H:148-151
IsWow64, Is64BitWindowsBOOLOPRLOW.H:147, 154
findfirst, findnextBorland-style over Win32 FindFirstFile, _MSC_VER only; fnd1st/fndnxt remainFIOAPI.H:257-269
gstrcpygstrcpy(CHAR *destination, const CHAR *source)GCOMM.H:1211
script enginebegscr, endscr, abtscr, pumpscr, go2lbl, psnstg, screrr, scrinp, register_scrcmd, init__galscr; constants NUMWAT 8, MAXELN 21SCRIPT.H
GALDMAdirect module access server; RLOGINSTART 1000; user flag DMAUSRDMA.H:42, MAJORBBS.H:282
Modern date/timeDNTAPI2.H: dnt2_* functions, prndat2, prnday2, prntim2present on branch add-dntapi2-header only, not in main; chapter 27 note
CHAR_BUFFERwritable local copy of a literalGCOMM.H:40
WGSMSGS.HELOG_* event-log message idsWGSMSGS.H

...

  1. Replace BBSVER with BBSVERS (BBSVERSSTG for the string) when you target the Major BBS branch of server.h.
  2. Replace uses of EXPORT_TYPE, IMPORT_TYPE, EXPWGSF/V, EXPRSYF/V, TLCEXP and the two-argument EXPORT_FUNCTION/EXPORT_VARIABLE (29.5).
  3. Re-derive anything sized from ff_name[256] (29.6).
  4. Remove includes of the headers that are not in the shared inc/ (29.7), or carry a project-local copy as the ported modules do.
  5. Audit every call that passes a string literal or #define to a CHAR * parameter (29.4).
  6. Decide your struct packing and check on-disk record sizes (29.3).
  7. Do not remove default arguments from tlc*/pal* calls (29.8).
  8. Drop all Client/Server and Active HTML code (chapters 20, 21, GALACTH.H users).

...

Previous: Major BBS v10: 28 Porting WG1/WG2 Source to Worldgroup 3.x  |  Contents