Database ManagersDataFlex and C++ programming tips. Information about DataFlex Decompilers is also provided.Stringify __LINE__ using preprocessor directives- (Found June 24, 2008 ) Create a string that contains the C++ filename and line number that a runtime error occurs on using preprocessor directives. Show how to stringify an integer (__LINE__).http://www.decompile.com/cpp/faq/file_and_line_error_string.htm DataFlex: An Introduction- (Found June 24, 2008 ) DataFlex is a relational, 4GL Object Oriented database programming language. This article provides an overview of the DataFlex database language.http://www.decompile.com/dataflex/index.htm Measuring the SET_TIMER Resolution in DataFlex- (Found June 24, 2008 ) The behavior of the SET_TIMER command depends on the underlying hardware. This article includes a DataFlex test program that demonstrates using the SET_TIMER command and a way to detect the minimum resolution that the SET_TIMER command will use on your hardware.http://www.decompile.com/dataflex/tips/timing_an_event6.htm DataFlex Flexkeys- (Found June 24, 2008 ) Flexkeys provide a powerful way for DataFlex programmers to create flexible programs for a variety of terminals. This article includes a DataFlex program for finding the definition of a Flexkey and it discusses the history and architecture of DataFlex Flexkeys.http://www.decompile.com/dataflex/tips/flexkey2.htm Timing an Event in DataFlex- (Found June 24, 2008 ) This tutorial demonstrates techniques I've developed for measuring how long things take in DataFlex. Some techniques are so accurate that they even detect the amount of time that Windows steals from a process to do its own processing.http://www.decompile.com/dataflex/tips/timing_an_event.htm Connecting an MS-Dos Application to a Printer on a USB Port on Windows 2000- (Found June 24, 2008 ) How to connect an MS-Dos application to a Printer that uses a USB Port on Windows 2000. The technique involves associating a network name with an unused LPT port. DataFlex (a 16 and 32-bit application) can then write to the LPT port and the operating system redirects the job to the USB printer port.http://www.decompile.com/dataflex/tips/usb_printer.htm Compiling DataFlex Programs- (Found June 24, 2008 ) A tutorial that presents a batch file that conveniently compiles arbitrary groups of DataFlex source files on a single command line. The filenames on the command line can contain wildcards.http://www.decompile.com/dataflex/tips/compiling.htm Reading a text file into a vector- (Found June 24, 2008 ) This sample program shows how to read a text file into a vector. It can be the launching point for a much larger program.http://www.decompile.com/cpp/faq/file_to_vector.htm Detect Construction, Destruction, Copy and Assignment in C++ members- (Found June 24, 2008 ) Use noisy.h (provided in the article) to easily detect when the data elements of a struct or class are being automatically copied or assigned. The article is also a bare-bones example of how to code a constructor, destructor, copy constructor and assignment function (operator=()) in a C++ class.http://www.decompile.com/cpp/faq/noisy.htm Loan Payment Calculator in DataFlex- (Found June 24, 2008 ) There are some programs that are universal to programming -- the kind of program that everybody eventually makes. One of those programs is a loan payment calculator. As a student, you might need to calculate a monthly loan payment for a class project, or you might need to calculate it for the finance deptment for your business, or you might need it for yourself to find out the monthly payment for a car or house loan.http://www.decompile.com/dataflex/tips/finance.htm |