The Latest

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

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

About Box and Splash Screen Missing from App

Question: I recently modified the following under my application’s class libraries… app_aboutboxapp_splash I rebuilt the project and executable, but when I run my application, text and images from both the

DevX - Software Development Resource

Replacement for the “Finally” Keyword

Question: I’m wondering whether there is any good replacement for Java’s “finally” keyword (that executes regardless of whether an exception is thrown a keyword) in C++. I’m trying to switch

DevX - Software Development Resource

File Locations

Question: I have set Home as C:MyApp in Project Information. VFP has no problem finding the project, but when I do a build and, while running, click a link to

DevX - Software Development Resource

Simulate a PDA in a Web Page

Question: What is the best way to go about simulating a PDA (personal digital assistant) in a Web page? I want to simulate a change of menu many times. Can

DevX - Software Development Resource

Using the Find Method of the Window Object

Question: Can I find the text on an HTML page from another window (where the find option is available)? Answer: If you are using Netscape Navigator 4+, you can use

DevX - Software Development Resource

Apply Web Site Templates Using Includes

Question: I want to create a consistent look and feel to my site. Without using frames, how do I apply a template to all my Web pages that will include

DevX - Software Development Resource

Single-Threaded DLL and Web Server Application

Question: We have a legacy database system called Universe, which is owned by Ardent Software. Ardent offers a product called uvObjects which is a single-threaded DLL that can be loaded

DevX - Software Development Resource

Bevel Flat Graphics in FrontPage 2000

An overlooked feature in FrontPage 2000 is the one-click tool to add a nice bevel to your graphics. A bevel makes the image stand out from the page and adds

DevX - Software Development Resource

Mailbox and Log File Locations

Question: What is the location of the users’ mail boxes so I can back them up to a tape? Also, where are the Internet e-mail tracking log files stored? Answer:

DevX - Software Development Resource

ADO vs. ODBC

Question: Which implementation works faster, ADO or ODBC? Is there any relevant information (or benchmarks) comparing the difference between linking directly to the ODBC or accessing databases through the ADO

DevX - Software Development Resource

IN SQL Statement

Question: I have department codes like this: T, B, P, O, Q, etc. How can I find T only, B only, or others only (excluding T and B)? Answer: You

DevX - Software Development Resource

Cleaning Up Old Dumps

Question: How do you clean up old database and transaction log dumps without removing the backup device? I cannot find a way to delete a single instance of either. Answer:

DevX - Software Development Resource

Losing Timer Events

Question: When I start a timer on a window with an interval of one second, I expect to get a timer event on the window every second. I have noticed

DevX - Software Development Resource

Recovering Data from an Old .OST File

Question: Recently, we had a server die on us with bad backups. We have installed a new server and have reestablished all the mailboxes. I have one mailbox that is

DevX - Software Development Resource

Converting GETDATE to 24-Hour Format

Question: Using GETDATE returns the time portion of the date in the 12-hour clock form (“08:30pm”). I need the time portion to be in 24-hour clock form (“20:30”). I can’t

DevX - Software Development Resource

None Specified Datawindow Retrieval Arguments

Question: I have a datawindow that will be called by two functions. The first function only uses the first retrieval argument; the second function uses all three arguments. In the

DevX - Software Development Resource

Finding Column and/or Row Height

Question: I have a column that is set to Autosize Height. I would like to find the column height for this column on each row after the data has been

DevX - Software Development Resource

Is Exchange the Answer?

Question: I am setting up a new post office SYS. We have five sites over the United Kingdom. Is Exchange the right product to use? We would require replication of

DevX - Software Development Resource

Don’t include Extender properties in ActiveX Wizard

The left-most listbox in the first page in the ActiveX Control Interface Wizard includes all the properties exposed by the constituent controls currently on the UserControl’s surface. Unfortunately, this list

DevX - Software Development Resource

Declaring a typedef

typedef names can hide intricate syntactic constructs such as pointers to functions and template instances. However, many novices simply don’t know how to declare a typedef, or worse yet Related

DevX - Software Development Resource

Deep Copy and Shallow Copy

The terms “deep copy” and “shallow copy” refer to the way objects are copied, for example, during the invocation of a copy constructor or assignment operator. In a deep copy

DevX - Software Development Resource

Declaring Pointers to Data Members

Although the syntax of pointers to members may seem a bit confusing at first, it is consistent and resembles the form of ordinary pointers, with the addition of the class

DevX - Software Development Resource

The Representation Of Pointers To Members

Although pointers to members behave very much like ordinary pointers, behind the scenes, they are not necessarily represented as pointers. In fact, a single pointer to member usually consists of