Tip Bank

DevX - Software Development Resource

Shared Memory Error

Question: My Informix usually server starts fine, but when I try to add a database chunk with the onspaces command I get an error (“shared memory not initialized”). Any ideas?

DevX - Software Development Resource

Error in Timed Job

Question: I am getting an error (“Could not do a physical-order read to fetch next row” #244) while executing a job that runs a set of SQL statements every 30

DevX - Software Development Resource

Select Statement to Combine Two Tables

Question: How do I use a SQL select statement to combine two tables that are identical in structure but contain different data? Answer: The union statement allows you to combine

DevX - Software Development Resource

Quick comparison among UDTs

When you need to compare two User Defined Type (UDT) variables to check whether they are equal, the only approach that you can follow in plain VB is to compare

DevX - Software Development Resource

VB Constant Declaration

Question: What does the ‘* 1’ mean in this constant declaration? Public Const gcsDelimiter As String * 1 = “|” Answer: The * in your example defines the size of

DevX - Software Development Resource

Reserved Words

Question: Where can I find a list of reserved words in C++? Answer: Most C++ books include a list of reserved keywords. Here’s the list: asm do if return typedefauto

DevX - Software Development Resource

Do Templates Increase Executable Size ?

Question: Since template code is generated at compile time, it implies that there should be a separate set of code for each template objects created. Does that mean templates increase

DevX - Software Development Resource

Changing the Value of Global Parameters

Question: With XSL, can I change the value of global parameters inside the templates named temp? Answer: No. Parameters and variables in XSLT, once defined, essentially are fixed for a

DevX - Software Development Resource

MTS Programming

Question: Should I make a call to GetObjectContext() in every function in my DLL? Obviously, you are going to do that in your “main” methods, but does calling GetObjectContext() in