Tip Bank

DevX

Constraints on Social Security Number

Question: How do I put a named constraint on a social security number defined as number(9) so that no hyphens are allowed in? Answer: To prevent numbers with hyphens from

DevX

Stopping Services for Backup

Question: As backup for a client, can I write a script in Exchange to shut down the service, copy all the data files to another drive, and then restart the

DevX

Software to Convert Informix dat to dbf

Question: Is there any software that will convert database files from Informix to dbf files? Answer: I’m not aware of any. Sort of like rebuilding a Ferrari and putting in

DevX

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

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

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

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

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

JSP/WAP

Question: Does JSP support WAP? Answer: As long as you set your content type properly, any of the scripting languages can generate WML, which can be displayed on WAP-enabled devices.