Tip Bank

DevX - Software Development Resource

Bool Values

Question: How do I make 1 bool take 1 bit instead of 1 byte? Answer: Instead of an array, you should use an STL container that is specifically designed to

DevX - Software Development Resource

Compiler for BOOL in C++

Question: Can you please name a few compilers that implement bool? Answer: Almost every C++ compiler nowadays supports bool. You don’t have to define or #include anything; bool is a

DevX - Software Development Resource

WAP Configuration

Question: I have a Nokia WAP server 1.1 and toolkit 1.2. When I try to look into a WML page using Wapman, it gives a 406 error. What do I

DevX - Software Development Resource

Memory Layout of Objects

Question: If a program constructs an object (let’s say, foo) that has a number of large and involved methods 100 times, does it duplicate in memory all the code for

DevX - Software Development Resource

Exchange Server Slow Down

Question: Why does our Exchange server randomly slow way down once a day? Answer: There are a number of reasons why that could happen. I suspect you may find some

DevX - Software Development Resource

Asynchronous Calls and Callbacks

There are two ways to invoke a remote object through Remote Scripting: synchronously and asynchronously. The asynchronous approach is particularly useful because it doesn’t stop the user from working within

DevX - Software Development Resource

Truncate Table

Question: Is there a fast way to delete all the rows (in other words, truncate) the table in Informix 7.xx? Answer: There is no truncate command. The fastest way to