Dec 292017
 
TVRW will enable you to create dialogs as persistent objects, saving them to disk and reading them in at runtime.
File TVRW.ZIP from The Programmer’s Corner in
Category C++ Source Code
TVRW will enable you to create dialogs as persistent objects, saving them to disk and reading them in at runtime.
File Name File Size Zip Size Zip Type
DEMO.ZIP 7338 6094 deflated
READ.ME 7502 1647 deflated
TVRW.EXE 276112 104936 deflated
TVRW.HLP 245283 32173 deflated

Download File TVRW.ZIP Here

Contents of the READ.ME file


/*-----------------------------------------------------------------------*/
/*-----------------------------------------------------------------------*/
/* */
/* Turbo Vision Resource WorkShop */
/* Copyright (c) 1993 */
/* Version 1.0 */
/* */
/* Siskiyou Software */
/* P.O. Box 2212 */
/* Cupertino, California */
/* 95015-2212 */
/* */
/* Readme File */
/* */
/* Thank you for trying the Turbo Vision Resource WorkShop. We */
/* believe you will find it a very useful tool in the development, */
/* and more importantly, in the maintenance of your Turbo Vision */
/* applications. */
/* */
/* TVRW will enable you to create dialogs as persistent objects, */
/* saving them to disk and reading them in at runtime. The benefits */
/* of persistent objects are: smaller code and ease of maintenance. */ */
/* */
/* IMPORTANT: */
/* Two bugs in TResFile.cpp will lead to memory leaks if not patched. */
/* Making the following changes at the lines listed will eliminate */
/* the leak( 16 bytes ). */
/* */
/* At line 107, */
/* add: delete header; */
/* */
/* */
/* line 141: //make the documented changes */ */
/* //stream->seekg(basePos + indexPos, ios::beg); */
/* //change to */
/* stream->seekp(basePos + indexPos, ios::beg); */
/* *stream << index; */
/* lenRez = stream->tellp() - basePos - sizeof(long) * 2; */
/* //stream->seekg(basePos, ios::beg); */
/* //change to */
/* stream->seekp(basePos, ios::beg); */
/* */
/* */
/* A function has been provided to ease the reading of dialogs from */
/* disk. Link your program with rgetdlg.obj to obtain the function: */
/* */
/* RGetDialog( char * ResourceFileName, char *ResourceIndex); */
/* */
/* "ResourceFileName" is the file name containing the dialog, */
/* for example: "demo.rez." "ResourceIndex" is the index assigned */
/* to the dialog when it was saved to disk, for example: "Order." */
/* */
/* The following files have been included */
/* */
/* TVRW.zip contains: */
/* Read.me - this file */
/* TVRW.exe - the executable */
/* TVRW.hlp - help file for TVRC */
/* Demo.zip - Demonstration program */
/* */
/* Demo.zip contains: */
/* demo.cpp - demonstration program source code */
/* rgetdlg.obj - object module containing RGetDilaog(); */
/* demo.rez - resources with edit info. for demo.cpp */
/* clientin.h - header file for client dialog */
/* notebook.h - header file for notebook dialog */
/* algorithm.h - header file for algorithm dialog */
/* */
/* Notes on Demo.cpp: */
/* Compile on command line with: */
/* bcc -ml demo.cpp rgetdlg.obj c:\bc31\tvision\demos\gadgets.cpp tv.lib */
/* */
/* When including several header files created by TVRW, you will */
/* notice the compile time - "Error xxxx.h y: Variable */
/* 'forceRDialog' is initialized more than once." When this occurs, */
/* simply comment out the __link(RDialog) marco in the header file */
/* xxxx.h. It is important to comment out ONLY those macros which */
/* are causing a conflict. */
/* */
/* If your program CRASHES at RUN TIME, make sure you have not */
/* commented out one of the __link macros accidently. Also, check */
/* to be certain that all header files have been included. */
/* Attempting read in a resource which contains, say, a */
/* TRadioButtons, without the corresponding __link(RRadioButtons) */
/* macro, will cause a run time crash. */
/* */
/* Also, NEVER forget to check for the VALIDITY of the dialog read */
/* form disk. Use the TProgram member function validView() to ensure */
/* dialogs have been retrieved correctly. */
/* */
/* If you have any comments or suggestions, please send them to */
/* the address given above. */
/* */
/* Thank you. */
/*-----------------------------------------------------------------------*/
/*-----------------------------------------------------------------------*/




 December 29, 2017  Add comments

 Leave a Reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

(required)

(required)