Dec 192017
 
C source and exe for Zinc/Paradox Engine application.
File DIALOG.ZIP from The Programmer’s Corner in
Category C Source Code
C source and exe for Zinc/Paradox Engine application.
File Name File Size Zip Size Zip Type
MAGDLG.CPP 1928 773 deflated
MAGDLG.HPP 1145 488 deflated
MAKEFILE 540 311 deflated
MATERIAL.CFG 101 58 deflated
MATERIAL.CPP 2570 945 deflated
MATERIAL.DB 1384 246 deflated
MATERIAL.EXE 220048 97090 deflated
MATERIAL.PX 1199 74 deflated
MENU.CPP 3697 1135 deflated
MENU.HPP 1019 454 deflated
MENUIDS.H 114 66 deflated
MENUITEM.DB 1267 240 deflated
MENUITEM.PX 1199 76 deflated
MENUTABL.DB 1256 154 deflated
MENUTABL.PX 1197 78 deflated
PDXPP.CPP 218 163 deflated
PDXPP.H 16562 2516 deflated
PRINTERS.DB 1265 257 deflated
PRINTERS.PX 1197 93 deflated
PRNDLG.CPP 15817 2890 deflated
PRNDLG.HPP 2103 627 deflated
README.DOC 2317 967 deflated
README.TXT 348 229 deflated

Download File DIALOG.ZIP Here

Contents of the README.TXT file


***NOTE: This program was created entirely by a user of the ZINC
INTERFACE LIBRARY. Zinc is not resposible for the
condition, functionality or technical support of this
program. If you have any questions about this or any other
user supplied program, please contact the developer of the
particular program. Thank You.


Contents of the README.DOC file


***NOTE: This program was created entirely by a user of the ZINC
INTERFACE LIBRARY. Zinc is not resposible for the
condition, functionality or technical support of this
program. If you have any questions about this or any other
user supplied program, please contact the developer of the
particular program. Thank You.
COPYRIGHT 1991

OBJECTIVE SYSTEMS, INC.
RICHARD DOUST (201) 335-0691

This program demonstrates a couple of things. One is a persistent menu
object. The program's menu is stored in two Paradox tables. At
initialization, the program instantiates a PxMenu object which causes that
menu's definition to be read from the database. Changing the menu is as easy
as changing the contents of the two Paradox tables.

The second thing is a dialog box. The dialog box was a little tricky only
because its job is to update another Paradox table.

Files:
Menu.Hpp // Paradox Menu Object interface
Menu.Cpp // PxMenu object
Material.Cpp // main
PrnDlg.Hpp // Dialog box class
PrnDlg.Cpp // The dialog box code
MenuIds.H // defines for menu ids
Pdxpp.H // Paradox engine C++ interface header file
// downloaded from CompuServe
Pdxpp.Cpp // Initialization of Paradox Library
Makefile // A PolyMake makefile
ReadMe.Doc // This file
Material.Cfg // used by the makefile - parameters for compile
MenuItem.DB // Paradox Table of menu items
MenuItem.PX // Index for menu items table
MenuTabl.DB // Paradox Table of Menus
MenuTabl.PX // Index for Menus table
Printers.DB // Paradox Table of Printers
Printers.PX // Index for Printers table
Material.DB // Another table not used, but referenced
Material.PX // Index for material table
Material.Exe // The program

If you own the Paradox engine and Borland's C++ compiler, you should be able
to compile and link this code. Alternatively, just run the application and
look at the code to see how it was done. If you own Paradox, modify the Menu
tables and check out the results the next time you run the application.

Any comments are of course welcome. I wrote all of this stuff in two days
and don't think that its necessarily a good example of C++ code. I only just
started coding in C++. But someone may find something useful in some of it.

By the way, printers in the context of this program are businesses that do
printing.


 December 19, 2017  Add comments

Leave a Reply