Tip Bank

DevX - Software Development Resource

Can 16-Bit Software Run in Windows 2000?

Question: Can 16-bit software run in Windows 2000 platform? Answer: The answer is yes and no. Many 16-bit software programs run just fine in W2K, as they did in NT

DevX - Software Development Resource

Passing Value to an Online Form

Question: Is it possible to use JavaScript to create a custom page and pass all the values in the page to an online form such that I do not have

DevX - Software Development Resource

Loading a New Window from a Frame.

Question: I have a frameset that consists of two frames. The top frame is a horizontal frame that displays a bulletin message in a banner if there is some sort

DevX - Software Development Resource

Using errno in DLLs

C++ inherited from C the global variable errno which indicates the success status of a previous operations. An errno value of 0 indicates that the previous operation was successful whereas

DevX - Software Development Resource

The vector::data() Member Function

In a previous tip, I discussed techniques for treating a vector object as an array. The two main forms of obtaining the internal array’s address are: &*v.begin(); // obtain address

DevX - Software Development Resource

Uninitialized enum Variables

The value of an uninitialized automatic enum variable is indeterminate. Uninitialized global and static enum variables have a zero value by default. In this regard, enum variables are similar to

DevX - Software Development Resource

The Modulus Operator

The operator % returns the remainder of dividing its two operands. For example: b=10%3; // b equals 1 Don’t confuse the modulus operator with the division operator: c=10/3; // division,

DevX - Software Development Resource

Locking a Row

Question: How can I lock a row in a table from a stored procedure? Answer: You shouldn’t have to worry about locking. It’s done automatically by the engine when you