Tip Bank

DevX - Software Development Resource

Memo Fields

Question: I have a memo field in a table, which has been scattered to memvar. I need to append a standard statement to the field once the user has completed

DevX - Software Development Resource

Bit Fields and Memory Alignment

Question: Using Visual C++ 6.0, I recently attempted to create a structure to implement a data message that my application had to process. The following code segment produced unexpected results

DevX - Software Development Resource

OS System Calls

Question: How can I pass a member function of a class as a pointer in C (pointer type expected: void *)? Answer: You can’t pass a pointer to a C++

DevX - Software Development Resource

Optimizing Member Alignment

A class’s size can change simply by playing with the order of its members’ declaration. For example: struct A{ bool a; int b; bool c;}; // sizeof (A) == 12

DevX - Software Development Resource

Client-side Processing With ASP

Question: We’ve developed a TV scheduling program in HTML, but we have problems with speed (connectivity as well as display refresh) and the inherent functional limitations of HTML. We need

DevX - Software Development Resource

Generate Audit Table Trigger Code

This code will generate code to do a column-by-column comparison against a table, assuming that you are joining the inserted table (aliased as “i”) with the deleted table (aliased as

DevX - Software Development Resource

Models of Garbage Collectors

If you need a garbage collector, you can either install one or implement it by yourself. Which type of garbage collection should you use? A conservative garbage collector and a