devxlogo

December 14, 1999

Purpose of Placement delete

C++ defines a placement version of operator delete. Placement delete is not supposed to be called directly by the user. Rather, it merely serves as the deacllocation function that the

Introducing Pointers to Members

Pointers to members are one of the most intricate syntactic constructs in C++, and yet, they are a very powerful feature too. In future tips, I will discuss pointers to

Multithreading Misconceptions

While it is true that a multithreaded app is more responsive than a single threaded one, programmers who are new to multithreading are often misled into thinking that a multithreaded

Avoiding Deferment of Global Object Construction

Consider the following class and its global instance: // Foo.h class Foo { public: Foo() { RegisterSelf(); } private: void RegisterSelf() {/**/} };// Foo.cpp #include “Foo.h” Foo reg; // global

Selecting Rows Based on a Distinct Value

Question: I have a table in my SQL 7 database that, among other values, contains e-mails. There are duplicate e-mail values in this table. I want to extract one record

Exchange Rules Limit

Question: I am trying to set up 87 rules for a specific mailbox. Problem is, I get an error message stating there are too many rules. Is there a limit

Very Slow Queries

Question: I’m working on a database built for reporting purposes. Tables are updated once a month. Reporting queries are taking many hours to complete, some up to 26 hours. The