devxlogo

Tip Bank

Locating the Results Page in Index Server

When you use Index Server and Internet Information Server (IIS), you get a moderately useful search process built into your Web application. However, it isn’t readily apparent where that data

A vector<Base> Should Not Store Derived Objects

A vector stores its elements contiguously in memory (although this is not a requirement in the Standard, in practice, all implementations use contiguous storage). Consequently, each element in a vector

The Minimum Requirements for STL Containment

Any object that defines the copy constructor, default constructor, assignment operator and destructor as public members (either explicitly or implicitly) can be stored in STL containers. If you do not

Center Your Windows

By default, instances of Window subclasses such as Frame and Dialog appear at the upper-left corner of the screen when made visible. For a more user-friendly interface, you can center

Draw Frames on Form Without Control

The DrawEdge API provides a convenient way to draw a number of interesting effects. You can change the EDGE_ constants to give different border effects; the BF_ constants determine which

Running Applications From Your Own

Question: What code do I use for Delphi to run a program and use command line parameters inputted by the user? Answer: This code will allow you to launch other