Tip Bank

DevX - Software Development Resource

Creating 30-Day Trial Applications

Question: I am Web site developer assisting a Visual FoxPro developer in distributing his creation via the Internet. He wants to create a 30-day trial version for distribution in this

DevX - Software Development Resource

Tools for Documenting Class Libraries

Question: Is there a third-party tool that can be used to document VFP Class libraries and their components? Answer: VFP’s Re-Engineering wizard can move your classes to Rational Rose and

DevX - Software Development Resource

Flipping Rows to Columns

Question: How can I select rows in a table and output them as columns in a resulting table? In other words, I need to “flip” my rows to columns and

DevX - Software Development Resource

Ambiguous Operator Error

Question: My small program (see below) below compiles and runs correctly on one machine and generates the following error on another: ‘operator

DevX - Software Development Resource

Data Rollup

Question: I have a table containing records collected at variable times. How do I “roll up” the data to average over 15-minute periods in a query? Answer: I think I

DevX - Software Development Resource

Iostream Objects’ Memory Use

Question: I have written this very small program in Microsoft Visual C++ and it seems that STL is dumping memory: #include #include using namespace std ;void main(){ _CrtDumpMemoryLeaks( );} The

DevX - Software Development Resource

FoxPro Commands and the ODBC Driver

Question: I’m trying to set up an SQL call (in ColdFusion) to a program (TESTOUT.PRG) that uses the FoxPro COPY TO command and user-supplied parameters to output the desired file

DevX - Software Development Resource

Using Auto_ptr with Arrays

Question: Can auto_ptr be used to hold a pointer to an array of objects? For example: auto_ptr p = new int[10]; When auto_ptr is destroyed, will it call the correct

DevX - Software Development Resource

Using C++ for AIX Unix and Windows NT

Question: We are looking at Visual Studio 6 as a development platform. Studio 6 contains Visual C++, Java++, and VB version 6. Can I use this development platform to create