Tip Bank

DevX

DBENGINE – 16 bit

Question: I need to use the BDE in a Windows 3.11 environment. My Delphi 1 system does not include BDEINST material, although the help files refer to it. How can

DevX

Simulate Win95 Taskbar Within Your App

The Windows 95 taskbar (with the Auto Hide check box set) is quite attractive and provides a compact, nonintrusive way to access and organize information. You can easily simulate this

DevX

VB Version IsDate Differences

Under VB3, IsDate returns True only if the string corresponds to the date format indicated by the “Regional” or “International” settings in the Control Panel. Under VB4 and VB5, however,

DevX

Assert() is Dangerous

The standard assert() macro tests its argument. If the result evaluates to 0, the standard abort() routine is called. Back in C heyday, it was a very useful debugging tool

DevX

How to Avoid Code Bloat When Using Templates

If you are using templates in your code, you are probably aware of their invaluable advantages. However, templates can cause a code bloat: The compiler reduplicates the template’s body for

DevX

Explicit Template Instantiation

In large projects, where hundreds of source files have to be compiled on every build, the long compilation time can be reduced significantly if templates are explicitly instantiated all at

DevX

The Type of a Class Template

A template name is not a type. When you need a template functioning as a full type (for example: to serve as a base class or as a function argument),

DevX

Template Specialization

Templates are generic due to their type unawareness. However, there are cases where you need a special behavior for a specific type. C++ supports these cases by means of template