Protheus.chCollects Protheus function translations, general commands and several specialized includes. Observed symbols: Functions U_, P_, T_, W_ e H_; STACKVAR; Dialog.ch; Font.ch; PTMenu.ch; Print.ch; Colors.ch.
AdvPL Guide#Include "<arquivo>.ch"Review the observed purpose of 50 historical .ch files and identify which ones require current-release validation.
The include_001.zip package contains 50 includes and one version-control file. Most files are dated Feb. 28, 2007 and carry Microsiga 1997–2003 copyright headers; CTBR040.ch and CTBR150.ch are from 2005. The collection records how commands, translations and constants were organized at the time. It supports research and legacy maintenance, but never replaces the official include package for the current release.
#Include "<arquivo>.ch"Protheus.chCollects Protheus function translations, general commands and several specialized includes. Observed symbols: Functions U_, P_, T_, W_ e H_; STACKVAR; Dialog.ch; Font.ch; PTMenu.ch; Print.ch; Colors.ch.
TopConn.chDeclares the TCQUERY command used to open SQL results through the TOPCONN RDD. Observed symbols: TCQUERY.
TBIconn.chGroups historical environment setup, RPC connection, remote transaction and remote table commands. Observed symbols: PREPARE ENVIRONMENT; RESET ENVIRONMENT; CREATE/CLOSE RPCCONN; CALLPROC.
StdWin.chContains a large set of xBase translations, flow-control commands and historical visual constructs. Observed symbols: DO WHILE; ENDIF; ENDCASE; NEXT; DO; CALL; STORE.
SigaWin.chExtends visual, printing and function-convention commands from the historical Protheus interface. Observed symbols: Debug; BTNAUTFMT; PSAY; USER FUNCTION; PROW(); PCOL().
RWMake.chCollects old UI and printing commands and includes StdWin.ch. Study it for maintenance; do not adopt it automatically in new sources. Observed symbols: DIALOG; ACTIVATE DIALOG; BITMAP; PSAY; USER FUNCTION.
FileIO.chDefines opening, sharing and seeking modes used by low-level file functions. Observed symbols: F_ERROR; FS_SET; FS_RELATIVE; FS_END; FO_READ; FO_WRITE; FO_READWRITE.
Error.chDefines severity and numeric categories used by error objects and routines. Observed symbols: ES_WARNING; ES_ERROR; ES_CATASTROPHIC; EG_ARG; EG_BOUND; EG_ZERODIV; EG_SYNTAX.
DBInfo.chProvides identifiers for record information, RDD capabilities, locks and table characteristics. Observed symbols: DBRI_DELETED; DBRI_LOCKED; DBRI_RECNO; DBI_ISDBF; DBI_GETRECSIZE; DBI_GETLOCKARRAY.
VKey.chDefines historical virtual-key codes used by keyboard and UI events. Observed symbols: VK_RETURN; VK_TAB; VK_SHIFT; VK_CONTROL; VK_ESCAPE e outras VK_*.
Colors.chDefines color constants and the RGB() translation used by visual components. Observed symbols: RGB(); CLR_BLACK; CLR_BLUE; CLR_RED; CLR_HGRAY e outras CLR_*.
WinAPI.chCollects Windows API constants for windows, messages, buttons and styles. It is platform-dependent and requires caution. Observed symbols: IDOK; IDCANCEL; BN_CLICKED; CS_*; WS_*.
Editorial inventory: 50 .ch files, one .scc file and 12 prioritized include pages.
// 1. Locate the command or constant.
// 2. Search the target release include package.
// 3. Confirm current documentation.
// 4. Include only the required file.The dependency remains explicit and tied to the correct release.
© 2026 Usina.BR. All rights reserved. TOTVS, Protheus, Microsiga and their respective logos are trademarks of their owners. AdvPL Guide is independent and uses limited, attributed excerpts justified by educational purposes. See the Terms of Use. Terms of Use